python check if any variable in list is none