title: If statement with multiple conditions but only check others if first fails
body: <p>I'm trying to test two conditions, but only want to check the second condition if the first one fails. One example could be:</p>
  <pre><code>if df is None or len(df) == 0:
       # do something
  </code></pre>
  <p>I know I can use two seperate if statements or a try...except block. However, I want to know if there is a more elegant pythonic way of doing it or is two seperate if statements the only way.</p>