I am pretty sure there is a common idiom, but I couldn\'t find it with Google Search...
Here is what I want to do (in Java):
You can use 'all' and 'any' builtin functions in Python:
all(map(somePredicate, somIterable))
Here somePredicate is a function and all will check if bool() of that element is True.
somePredicate
all