code: def d_separated(G, x, y, z):
      """Return whether nodes sets ``x`` and ``y`` are d-separated by ``z``.
  
      .. deprecated:: 3.3
  
          This function is deprecated and will be removed in NetworkX v3.5.
          Please use `is_d_separator(G, x, y, z)`.
  
      """
      import warnings
  
      warnings.warn(
          "d_separated is deprecated and will be removed in NetworkX v3.5."
          "Please use `is_d_separator(G, x, y, z)`.",
          category=DeprecationWarning,
          stacklevel=2,
      )
      return nx.is_d_separator(G, x, y, z)
  
file_path: networkx/networkx/algorithms/d_separation.py
imports: from collections import deque
  from itertools import chain
  import networkx
  from networkx.utils import UnionFind, not_implemented_for
label_desc: Use image node_id 5 for calling a global function with example usage: d_separated(G, x, y, z) and returns: nx