code: def get_jitify_version(formatted=True):
      """Return Jitify version cached in check_jitify_version()."""
      global _jitify_version
      if _jitify_version is None:
          msg = "check_jitify_version() must be called first."
          raise RuntimeError(msg)
      if formatted:
          if _jitify_version == -1:
              return "<unknown>"
          return _jitify_version
      raise RuntimeError("Jitify version is a commit string")
  
imports: import contextlib
  import os
  import re
  import shlex
  import shutil
  import subprocess
  import sys
  import tempfile
  from typing import List, Set
  import cupy_builder
  import cupy_builder.install_utils
  from cupy_builder import _environment
  from cupy_builder._context import Context
label_desc: Use image node_id 24 for calling a global function with example usage: get_jitify_version(formatted) and returns: _jitify_version, str