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