Functions

Returns true if the given iterator has duplicate elements.