code: def _extract_global(self, nodes):
      for node in nodes:
          if node.tagname != "field":
              raise Exception(f"Expected a field, found {node.tagname}")
  
          name, _ = node.children
          if name.tagname != "field_name":
              raise Exception(
                  f"Expected a field name here, found {name_node.tagname}"
              )
  
          if str(name.children[0]) == "global":
              return True
  
imports: from collections import defaultdict, abc
  from typing import cast
  from docutils import nodes
  from docutils.parsers.rst import Directive
  import sphinx
  from sphinx.locale import _
  from sphinx.util.docutils import SphinxDirective
  from sphinx.errors import ExtensionError
  from conf import languages
label_desc: Use image node_id 8 for calling the AllEntities obj's underlying member method code with example usage: obj._extract_global(nodes) and returns: True