code: def _node_type(
      value: _holder,
  ) -> tuple[object] | t.Literal["terminal"]:
      if isinstance(value, _holder):
          return (value.node_type,)
      else:
          return "terminal"
  
imports: from __future__ import absolute_import
  from __future__ import annotations
  import re
  import sys
  import typing
  from operator import itemgetter
label_desc: Use image node_id 2 for calling a global function with example usage: _node_type(value) and returns: value, str