title: How do I determine if an element is in a list?
body: <pre><code>thelist = [{'color':'green', 'time':4}, {'color':'red','time':2},{'color':'blue','time':5}]
  </code></pre>
  
  <p>How do I say:</p>
  
  <pre><code>If "red" is in thelist and time does not equal 2 for that element (that's we just got from the list):
  </code></pre>