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