In Python 3, what's the shortest way to check if a predicate is true for all characters in a string?
all(predicate(x) for x in string)
all(map(predicate, string))
Functionally the same as @Abe answer, but with a map instead (also lazy in python3)