code: def _unique_everseen(iterable):
      # Adapted from https://docs.python.org/3/library/itertools.html examples
      "List unique elements, preserving order. Remember all elements ever seen."
      # unique_everseen('AAAABBBCCDAABBB') --> A B C D
      seen = set()
      seen_add = seen.add
      for element in _filterfalse(seen.__contains__, iterable):
          seen_add(element)
          yield element
  
file_path: networkx/networkx/algorithms/connectivity/disjoint_paths.py
imports: import networkx
  from networkx.algorithms.flow import edmonds_karp, preflow_push, shortest_augmenting_path
  from networkx.exception import NetworkXNoPath
  from itertools import filterfalse
  from .utils import build_auxiliary_edge_connectivity, build_auxiliary_node_connectivity
label_desc: Use image node_id 3 for calling a global function with example usage: _unique_everseen(iterable) without return types