title: Python How to check if data in list
body: <p>I have a code:</p>
  
  <pre><code>dates = []
  
  dates.append(['imie', 'nazwisko'])
  dates.append(['test', 'test2'])
  </code></pre>
  
  <p>How can check if "imie" and "nazwisko" is in dates?</p>
  
  <p>if 'imie' and 'nazwisko' in dates - not work</p>
  
  <p>Thanks for help</p>