Search in a list by predicate
<p>I would want to do something like:</p>

<pre><code>&gt;&gt;&gt; lst = [1, 2, 3, 4, 5]
&gt;&gt;&gt; lst.find(lambda x: x % 2 == 0)
2
&gt;&gt;&gt; lst.findall(lambda x: x % 2 == 0)
[2, 4]
</code></pre>

<p>Is there anything even nearing such behavior in Python's standard libraries ? </p>

<p>P.S. I know it's very easy to roll-your-own here, but I'm looking for a more standartized way</p>
