title: Checking for the existence of a key in request.args in Flask
body: <p>I am using Flask.</p>
  <p>I am doing an ajax post and I need to check for the existence of a key</p>
  <p>I tried the following, but it didn't work</p>
  <pre><code>if request.args.has_key('campaign_id_crid'):
          print True
  </code></pre>
  <p>What would be the right way to do that?</p>