demo_ref_all_set.py:
myset = {0, 1, 0} x = all(myset) print(x) # Returns False because both the first and the third items are False
C:\Users\My Name>python demo_all_set.py
False