title: Check if an element in a list is present in multiple lists in python
body: <p>I have to check if an element in list is present in multiple list.</p>
  
  <p>Example:</p>
  
  <pre><code>cornerCase = [-1, 4]
  top = [1, 2]
  bottom = [2, 3]
  left = [-1, 2]
  right = [3,1]
  </code></pre>
  
  <p>In this case I have to check if -1 or 4 is present in any of the elements in top, bottom, left or right lists. Looking for a solution in more pythonic way.</p>
  
  <p>My attempts:</p>
  
  <pre><code>1. 
      check = [i for i in cornerCase if i in top or bottom or left or right]
  </code></pre>
  
  <p>Didn't work. Realized after <code>or</code> it looks for other expression.</p>
  
  <pre><code>2.
      check = [i for i in cornerCase if i in (top, bottom, left, right)]
  </code></pre>
  
  <p>Damn! Didn't work again. Anyone please explain why ?</p>
  
  <pre><code>3.
      check = [i for i in cornerCase if i in [top, bottom, left, right]]
  </code></pre>
  
  <p>Obviously didn't work because checking a element in a list of lists.</p>
  
  <p>I check <code>if check != []</code> then <code>-1 or 4</code> was found in those lists.</p>
  
  <p>Any good pythonic way to achieve this ?
  Not looking for a solution with multiple <code>for</code> loops and individual <code>if</code> statements for all the lists.</p>