title: Identify if list has consecutive elements that are equal
body: <p>I'm trying to identify if a large list has consecutive elements that are the same.</p>
  <p>So let's say:</p>
  <pre><code>lst = [1, 2, 3, 4, 5, 5, 6]
  </code></pre>
  <p>And in this case, I would return true, since there are two consecutive elements <code>lst[4]</code> and <code>lst[5]</code>, are the same value.</p>
  <p>I know this could probably be done with some sort of combination of loops, but I was wondering if there were a more efficient way to do this?</p>