As per https://stackoverflow.com/a/17246413/2687324, all() and any() short-circuits. Is the order of evaluation guaranteed?
Using the example from the linked answer:
>>> def test():
...     yield True
...     print('one')
...     yield False
...     print('two')
...     yield True
...     print('three')
...
>>> all(test())
one
False
Will the result always be one and False?
 
     
     
    