class_docstr: Python class for ordered set.
  Code taken from https://github.com/buyalsky/ordered-hash-set/tree/5198b23e01faeac3f5398ab2c08cb013d14b3702.
code: def __next__(self):
      element = self._iter
      if not element:
          raise StopIteration
      self._iter = self._set[element]
      return element
  
file_path: dowhy/dowhy/utils/ordered_set.py
label_desc: Use image node_id 10 for calling the OrderedSet obj's underlying member method code with example usage: obj.__next__() and returns: element