how to check if a list contails any items or not without empty strings in python code example Example: check if empty item in list python if '' in list: # do stuff