title: How to Check if a Matrix is in a List of Matrices Python
body: <p>This is the list of matrices;</p>
  
  <pre class="lang-py prettyprint-override"><code>[matrix([[1, 0],
           [1, 0],
           [1, 0],
           [1, 0]]),
   matrix([[0, 0, 0, 0],
           [1, 1, 1, 1]]),
   matrix([[0, 1],
           [0, 1],
           [0, 1],
           [0, 1]]),
   matrix([[0, 0, 0, 0],
           [1, 1, 1, 1]]),
   matrix([[1, 1, 1, 1],
           [0, 0, 0, 0]])]
  </code></pre>
  
  <p>and I want to check if a matrix is already inside the list example;</p>
  
  <pre class="lang-py prettyprint-override"><code>a = matrix([[0, 0, 0, 1],
              [1, 1, 1, 0]])
  </code></pre>
  
  <p>So if a is in m then print True else print False</p>