code: def contains_duplicates(values: Iterable[Any]) -> bool:
      
      for v in Counter(values).values():
          if v > 1:
              return True
      return False
docs: Does the iterable contain any duplicate values?