title: Check if something is (not) in a list in Python
body: <p>I have a list of tuples in <a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29" rel="noreferrer">Python</a>, and I have a conditional where I want to take the branch ONLY if the tuple is not in the list (if it is in the list, then I don't want to take the if branch)</p>
  
  <pre><code>if curr_x -1 &gt; 0 and (curr_x-1 , curr_y) not in myList: 
  
      # Do Something
  </code></pre>
  
  <p>This is not really working for me though. What have I done wrong?</p>