python check if any element in list is empty