human
Can you show me a Python code to check all are none or none are none.
assistant
Here is a Python code to check all are none or none are none

import collections

def _check_all_none_or_none_are_none(lst):
    """
    Check all are none or none are none
    """
    if lst == []:
        return True
    else:
        return False

# Enter the list
list1 = [1, 2, 3]

# Calling the function
print((_check_all_none_or_none_are_none(list1)))

#Example Output
# False

#Remember to inspect code for bugs.