code: def has_duplicates(self):
          
          for n in getattr(self.__kcount, _iter_values)():
              if n != 1:
                  return True
  
          def dict_recurse(obj):
              for v in getattr(obj, _iter_values)():
                  if isinstance(v, VDFDict) and v.has_duplicates():
                      return True
                  elif isinstance(v, dict):
                      return dict_recurse(v)
              return False
  
          return dict_recurse(self)
docs: Returns ``True`` if the dict contains keys with duplicates.
          Recurses through any all keys with value that is ``VDFDict``.