title: how to compare two list ,object instances in python
body: <p>Say if I have:</p>
  
  <pre><code>list1 = [1,6]
  list2 = [1]
  </code></pre>
  
  <p>I want to do something if list values match!</p>
  
  <p>Compare it and do stuff after that</p>