How to check if a list is empty in Python? [duplicate]

if not myList:
  print "Nothing here"

Empty lists evaluate to False in boolean contexts (such as if some_list:).