code: def _set_lazy_features(x, xdata, feature_names):
      if feature_names is None:
          return
      if not isinstance(feature_names, Mapping):
          xdata.update({k: LazyFeature(k) for k in feature_names})
      else:
          for type_, names in feature_names.items():
              x[type_].data.update({k: LazyFeature(k) for k in names})
  
imports: import inspect
  from collections.abc import Mapping
  from ..None import backend
  from ..base import EID, NID
  from ..convert import heterograph
  from ..frame import LazyFeature
  from ..transforms import compact_graphs
  from ..utils import context_of, recursive_apply
label_desc: Use image node_id 1 for calling a global function with example usage: _set_lazy_features(x, xdata, feature_names) without return types