code: def get_detectron2_current_version():
      """Version is not available for import through Python since it is
      above the top level of the package. Instead, we parse it from the
      file with a regex."""
      # Get version info from detectron2 __init__.py
      version_source = (
          Path(__file__).parents[2] / "detectron2" / "__init__.py"
      ).read_text()
      version_number = re.findall(
          r'__version__ = "([0-9\.]+)"', version_source
      )[0]
      return version_number
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_detectron2_current_version() and returns: version_number