python check if a list has only true values code example Example: check all elements in list are false python >>> data = [False, False, False] >>> not any(data) True