Checks if all elements in the iterable are unique according to their values or a derived key.
The iterable to check for uniqueness
Optional
Optional function to extract a key for uniqueness comparison (identity is used if not provided)
true if all elements are unique, false if duplicates exist
true
false
Checks if all elements in the iterable are unique according to their values or a derived key.