Any and All methods of truth value testing are really good in Python.
Basically, any returns True when atleast one of the elements is Truthy in the iterator.
all returns True only when all the elements are Truthy.
What I am not able to understand is, are those methods greedy in nature?
ie if I do
all([False, x, y, z, p, q, r])
Python should not even bother to check values of x,y,z ..et .al because the first False ensures whatever be their values, the result will always be false.