title: if a or b explanation
body: <pre><code>a = None
  
  b = 'Test'
  
  if a is None or b is None:
      print('Test')
  </code></pre>
  
  <p>this version is obviously working but:</p>
  
  <pre><code>if (a or b) is None:
     print('Test')
  </code></pre>
  
  <p>Expected would be the same result but it evaluates to False, why?</p>