code: def _is_namedtuple(v):
      return isinstance(v, tuple) and hasattr(v, "_fields")
  
imports: import collections
  from collections import abc
  import types
  import tree
label_desc: Use image node_id 8 for calling a global function with example usage: _is_namedtuple(v) and returns: unknown