title: How to check if every element in list are equal?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3844801/check-if-all-elements-in-a-list-are-identical">check if all elements in a list are identical</a>  </p>
  </blockquote>
  
  
  
  <p>I want to check if all of the elements of a list are equal. I couldn't do this with:</p>
  
  <pre><code>if all (x == x for x in (a, b, c, d)):
      ...
  </code></pre>
  
  <p>Is there very minimalistic and elegant way to do this in Python?</p>