title: Python way of finding if a value exist in a boto.jsonresponse.Element class
body: <p>I'm using Boto to get a list of Route53 health checks using this:</p>
  
  <pre><code>def list_hc():
      conn = boto.route53.connect_to_region('universal')
      listhc = conn.get_list_health_checks()
      return listhc
  </code></pre>
  
  <p>I get the result as a boto.jsonresponse.Element that looks like this:</p>
  
  <pre><code>{u'ListHealthChecksResponse': {u'HealthChecks': [{u'HealthCheckConfig': {u'IPAddress': u'1.1.1.1', u'ResourcePath': u'/', u'RequestInterval': u'30', u'Type': u'HTTP', u'Port': u'80', u'FailureThreshold': u'3'}, u'CallerReference': u'1a311a1c-9da8-424a-9e9d-210ec72738b0', u'HealthCheckVersion': u'1', u'Id': u'1ff1c26f-f0fc-45d2-a008-6dac4dfc3c15'}], u'IsTruncated': u'false', u'MaxItems': u'100'}}
  </code></pre>
  
  <p>I would like to be able to check if an IP is already present as the value for IPAddress and if so, get the value of the Id for it. This list may have several health checks.</p>
  
  <p>At the moment I'm using this ugly way of checking if the IP is there:</p>
  
  <pre><code>if pubIp in str(listhc['ListHealthChecksResponse'].values()):
  </code></pre>
  
  <p>But I know there as to be a way to iterate properly over this like it was a dictionary and get key:values, but I can't find the way of doing so on this boto.jsonresponse.Element</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Thanks.</p>