What's the best way to search for a Python dictionary value in a list of dictionaries?
<p>I have the following data structure:</p>

<pre><code>  data = [
      {'site': 'Stackoverflow', 'id': 1},
      {'site': 'Superuser', 'id': 2}, 
      {'site': 'Serverfault', 'id': 3}
  ]
</code></pre>

<p>I want to search the above list to see if it has any site with a specific value. For instance, search the above to see if the list contain a dictionary with site = 'Superuser' and return True/False.  I can do the above the usual way of looping over each item and comparing them.  Is there an alternative way to achieve a search?</p>
