title: Django/Python POST
body: <p>First a bit of an introduction. I will send a POST to a url and it will have either
  ip, mac or hostname. Now depending on which of these key' are in the QueryDict i want it to do certain calls. I.e:</p>
  
  <p>Output of </p>
  
  <pre><code>print request.POST
  
  &lt;QueryDict: {u'ip': [u'10.1.24.178'], u'message': [u'Test'], u'client': [u'auabrthin1']}&gt;
  </code></pre>
  
  <p>I want to write something like this:</p>
  
  <pre><code>if request.POST['client'] in request.POST:
      do_something()
  </code></pre>
  
  <p>however <code>request.POST['client']</code> obviously is the value of client how can I check if a request.POST has a key?</p>