python check if any item in list is true