title: Python boolean variable, True, False and None
body: <p>I have a boolean variable named <code>mapped_filter</code>.
  If I am not wrong, this variable can hold 3 values, either <code>True</code>, <code>False</code> or <code>None</code>.</p>
  
  <p>I want to differentiate each of the 3 possible values in an <code>if</code> statement. Is there a better way to achieve that than doing the following?</p>
  
  <pre><code>if mapped_filter:
      print("True")
  elif mapped_filter == False:
      print("False")
  else:
      print("None")
  </code></pre>