code: def is_import(node):
      """Returns true if the node is an import statement."""
      return node.type in (syms.import_name, syms.import_from)
  
imports: from itertools import islice
  from .pgen2 import token
  from .pytree import Leaf, Node
  from .pygram import python_symbols
  from .None import patcomp
label_desc: Use image node_id 28 for calling a global function with example usage: is_import(node) and returns: unknown