Short way to write or in python : <p>I have this code:</p>

<p>table is a list.</p>

<pre><code>if 'ping' in table or 'pong' in table:
    # Do something here
</code></pre>

<p>Is there a shorter way to write this?
I don't want to have table duplicated in the if statement.</p>
