Shorter way to check if true in Python list comprehension expression (x for x if x shorter)
<p>Is it possible to write it shorter? I mostly interested in not writing "r[0].value" twice.</p>

<pre><code>    (r[0].value for r in sheet.range(USERROLELIST) if r[0].value)
</code></pre>

<p>if r[0].value -- to check that it != None</p>

<p>Sheet.range is from openpyxl module.</p>
