code: def isdefined(objekt):
      return not isinstance(objekt, _Undefined)
  
imports: from collections.abc import Sequence
  from traits import __version__
  import traits.api
  from traits.api import TraitType, Unicode
  from traits.trait_base import _Undefined
  from pathlib import Path
  from ...utils.filemanip import path_resolve
label_desc: Use image node_id 2 for calling a global function with example usage: isdefined(objekt) and returns: unknown