How to make my code more Pythonic?
<p>I try to define a function as short as possible, and the function to return True if <code>test</code> is always true, and false if there is some value for which it is false. I tried so:</p>

<pre><code>def res(v): for d in List: return True if v.test(d) else: pass
</code></pre>

<p>It does not work. How to define such a function ?</p>

<p>I want to define it on only one line.</p>

<hr>
