title: Check if all elements in a list are identical
body: <p>I need a function which takes in a <code>list</code> and outputs <code>True</code> if all elements in the input list evaluate as equal to each other using the standard equality operator and <code>False</code> otherwise.</p>
  <p>I feel it would be best to iterate through the list comparing adjacent elements and then <code>AND</code> all the resulting Boolean values. But I'm not sure what's the most Pythonic way to do that.</p>