code: def find_library(name, vision_include):
      this_dir = os.path.dirname(os.path.abspath(__file__))
      build_prefix = os.environ.get("BUILD_PREFIX", None)
      is_conda_build = build_prefix is not None
  
      library_found = False
      conda_installed = False
      lib_folder = None
      include_folder = None
      library_header = f"{name}.h"
  
      # Lookup in TORCHVISION_INCLUDE or in the package file
      package_path = [os.path.join(this_dir, "torchvision")]
      for folder in vision_include + package_path:
          candidate_path = os.path.join(folder, library_header)
          library_found = os.path.exists(candidate_path)
          if library_found:
              break
  
      if not library_found:
          print(f"Running build on conda-build: {is_conda_build}")
          if is_conda_build:
              # Add conda headers/libraries
              if os.name == "nt":
                  build_prefix = os.path.join(build_prefix, "Library")
              include_folder = os.path.join(build_prefix, "include")
              lib_folder = os.path.join(build_prefix, "lib")
              library_header_path = os.path.join(
                  include_folder, library_header
              )
              library_found = os.path.isfile(library_header_path)
              conda_installed = library_found
          else:
              # Check if using Anaconda to produce wheels
              conda = shutil.which("conda")
              is_conda = conda is not None
              print(f"Running build on conda: {is_conda}")
              if is_conda:
                  python_executable = sys.executable
                  py_folder = os.path.dirname(python_executable)
                  if os.name == "nt":
                      env_path = os.path.join(py_folder, "Library")
                  else:
                      env_path = os.path.dirname(py_folder)
                  lib_folder = os.path.join(env_path, "lib")
                  include_folder = os.path.join(env_path, "include")
                  library_header_path = os.path.join(
                      include_folder, library_header
                  )
                  library_found = os.path.isfile(library_header_path)
                  conda_installed = library_found
  
          if not library_found:
              if sys.platform == "linux":
                  library_found = os.path.exists(
                      f"/usr/include/{library_header}"
                  )
                  library_found = library_found or os.path.exists(
                      f"/usr/local/include/{library_header}"
                  )
  
      return library_found, conda_installed, include_folder, lib_folder
  
file_path: vision/setup.py
imports: import distutils.command.clean
  import distutils.spawn
  import glob
  import os
  import shutil
  import subprocess
  import sys
  import torch
  from pkg_resources import DistributionNotFound, get_distribution, parse_version
  from setuptools import find_packages, setup
  from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDA_HOME, CUDAExtension
label_desc: Use image node_id 4 for calling a global function with example usage: find_library(name, vision_include) and returns: library_found,  conda_installed,  include_folder,  lib_folder