how to verify if a list is not empty python code example Example: check if empty item in list python if '' in list: # do stuff