title: Python - If value in dictionary then
body: <p>Here's my code</p>
  
  <pre><code>    if "value" not in dictionary():
          do something
      else:
          do something else
  </code></pre>
  
  <p>I get the error 'TypeError: 'dict' object is not callable.</p>
  
  <p>I've tried changing the first line to</p>
  
  <pre><code>    if dictionary["value"]:
  </code></pre>
  
  <p>But get a different error. Where am I going wrong here?</p>