python list vide booléen

list1 = []
bool(list1) # prints False
list2 = [10, 20, 30]
bool(list2) # prints True
patrick204nqh