Check if a predicate evaluates true for all elements in an iterable in python
<p>pretty sure there is a common idiom but couldn't find it with google..<br>
Here is what I want to do (in java):</p>

<pre><code>// Applies the predicate to all elements of the iterable, and returns
// true if all evaluated to true, otherwise false
boolean allTrue = Iterables.all(someIterable, somePredicate);
</code></pre>

<p>How is this done "pythonic" in python?</p>

<p>Also would be great if I can get answer for this as well:</p>

<pre><code>// Returns true if any of the elements return true for the predicate
boolean anyTrue = Iterables.any(someIterable, somePredicate);
</code></pre>
