user
 Write a  python function to check if a list is empty or not.
assistant
def is_list_empty(lst):
    return not lst

print(is_list_empty([]))  # Output: True
print(is_list_empty([1, 2]))  # Output: False
