code: def get_abi_tag():
      """Return the ABI tag based on SOABI (if available) or emulate SOABI
      (CPython 2, PyPy)."""
      soabi = get_config_var("SOABI")
      impl = get_abbr_impl()
      if (
          not soabi
          and impl in {"cp", "pp"}
          and hasattr(sys, "maxunicode")
      ):
          d = ""
          m = ""
          u = ""
          if get_flag(
              "Py_DEBUG",
              lambda: hasattr(sys, "gettotalrefcount"),
              warn=(impl == "cp"),
          ):
              d = "d"
          if get_flag(
              "WITH_PYMALLOC", lambda: impl == "cp", warn=(impl == "cp")
          ):
              m = "m"
          if (
              get_flag(
                  "Py_UNICODE_SIZE",
                  lambda: sys.maxunicode == 0x10FFFF,
                  expected=4,
                  warn=(impl == "cp" and sys.version_info.major == 2),
              )
              and sys.version_info.major == 2
          ):
              u = "u"
          abi = "%s%s%s%s%s" % (impl, get_impl_ver(), d, m, u)
      elif soabi and soabi.startswith("cpython-"):
          abi = "cp" + soabi.split("-")[1]
      elif soabi:
          abi = soabi.replace(".", "_").replace("-", "_")
      else:
          abi = None
      return abi
  
imports: from __future__ import absolute_import
  import distutils.util
  from distutils import log
  import platform
  import re
  import sys
  import sysconfig
  import warnings
  from collections import OrderedDict
  import glibc
label_desc: Use image node_id 7 for calling a global function with example usage: get_abi_tag() and returns: abi