code: def _is_compatible(
      name: str, arch: str, version: _GLibCVersion
  ) -> bool:
      sys_glibc = _get_glibc_version()
      if sys_glibc < version:
          return False
      # Check for presence of _manylinux module.
      try:
          import _manylinux  # noqa
      except ImportError:
          return True
      if hasattr(_manylinux, "manylinux_compatible"):
          result = _manylinux.manylinux_compatible(
              version[0], version[1], arch
          )
          if result is not None:
              return bool(result)
          return True
      if version == _GLibCVersion(2, 5):
          if hasattr(_manylinux, "manylinux1_compatible"):
              return bool(_manylinux.manylinux1_compatible)
      if version == _GLibCVersion(2, 12):
          if hasattr(_manylinux, "manylinux2010_compatible"):
              return bool(_manylinux.manylinux2010_compatible)
      if version == _GLibCVersion(2, 17):
          if hasattr(_manylinux, "manylinux2014_compatible"):
              return bool(_manylinux.manylinux2014_compatible)
      return True
  
imports: import collections
  import contextlib
  import functools
  import os
  import re
  import sys
  import warnings
  from typing import Dict, Generator, Iterator, NamedTuple, Optional, Tuple
  from ._elffile import EIClass, EIData, ELFFile, EMachine
label_desc: Use image node_id 10 for calling a global function with example usage: _is_compatible(name, arch, version) and returns: True, False, True, True, bool, bool, bool, bool