code: def find_root(node):
      """Find the top level namespace."""
      # Scamper up to the top level namespace
      while node.type != syms.file_input:
          node = node.parent
          if not node:
              raise ValueError(
                  "root found before file_input node was found."
              )
      return node
  
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 26 for calling a global function with example usage: find_root(node) and returns: node