python return if dictionary value is true code example
Example: python check if all dictionary values are False
if all(value == True for value in your_dict.values()) == True:
#DO SOMETHING
if all(value == True for value in your_dict.values()) == True:
#DO SOMETHING