title: How do I check if there are duplicates in a flat list?
body: <p>For example, given the list <code>['one', 'two', 'one']</code>, the algorithm should return <code>True</code>, whereas given <code>['one', 'two', 'three']</code> it should return <code>False</code>.</p>