Write a function to check whether all dictionaries in a list are empty or not.
def empty_dit(list1):
 empty_dit=all(not d for d in list1)
 return empty_dit
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function to check whether all dictionaries in a list are empty or not.
def empty_dit(list1):
 empty_dit=all(not d for d in list1)
 return empty_dit[/INST]assert empty_dit([{},{},{}])==True
assert empty_dit([{1,2},{},{}])==False
assert empty_dit({})==True</s>