title: How to check for multiple keys in a dictionary if they are set to None?
body: <p>I have the following which works but I'd like to see a more cleaner or pythonic way to do this.</p>
  
  <pre><code>if options_dict['cids'] is not None and options_dict['mergekeys'] is not None:
     # do something
  </code></pre>
  
  <p>The above will resolve to true if the keys 'cids' and 'mergekeys' exist. Is there a better way to do the above? Additionally, how can I also check the following at the same time.</p>
  
  <pre><code>if options_dict['cids'] is None and options_dict['mergekeys'] is None:
     # do something
  </code></pre>
  
  <p>It would be awesome if I could combine both of the above in the same if statement in a elegant    way.</p>