a = [] if not a: print("List is empty")
array = []
if not a: print("List is empty")
>>> a = [] >>> not a True