code: def _find_static_library(name: str) -> str:
      if PLATFORM_LINUX:
          filename = f"lib{name}.a"
          libdir = "lib64"
      elif PLATFORM_WIN32:
          filename = f"{name}.lib"
          libdir = "lib\\x64"
      else:
          raise Exception("not supported on this platform")
  
      cuda_path = build.get_cuda_path()
      if cuda_path is None:
          raise Exception(
              f"Could not find {filename}: CUDA path unavailable"
          )
      path = os.path.join(cuda_path, libdir, filename)
      if not os.path.exists(path):
          raise Exception(
              f"Could not find {filename}: {path} does not exist"
          )
      return path
  
imports: import copy
  from distutils import ccompiler
  from distutils import sysconfig
  import os
  import shutil
  import sys
  import setuptools
  import cupy_builder.install_build
  from cupy_builder._context import Context
  from cupy_builder.install_build import PLATFORM_LINUX
  from cupy_builder.install_build import PLATFORM_WIN32
label_desc: Use image node_id 9 for calling a global function with example usage: _find_static_library(name) and returns: path