code: def check_processes(processes):
      from multiprocessing import cpu_count
  
      if processes > cpu_count():
          warn(
              "You have asked for too many processes. Truncated to the number of physical CPUs."
          )
  
          return cpu_count()
  
      else:
          return processes
  
file_path: DALEX/python/dalex/dalex/model_explanations/_variable_importance/checks.py
imports: from warnings import warn
  from .._model_performance.utils import *
  from .._variable_importance.loss_functions import *
label_desc: Use image node_id 9 for calling a global function with example usage: check_processes(processes) and returns: cpu_count, processes