code: def qtapi_version():
      """Return which QString API has been set, if any
  
      Returns
      -------
      The QString API version (1 or 2), or None if not set
      """
      try:
          import sip
      except ImportError:
          # as of PyQt5 5.11, sip is no longer available as a top-level
          # module and needs to be imported from the PyQt5 namespace
          try:
              from PyQt5 import sip
          except ImportError:
              return
      try:
          return sip.getapi("QString")
      except ValueError:
          return
  
imports: import importlib.abc
  import sys
  import os
  import types
  from functools import partial, lru_cache
  import operator
label_desc: Use image node_id 4 for calling a global function with example usage: qtapi_version() and returns: sip