code: def check_processes(processes):
      from multiprocessing import cpu_count
  
      if processes > cpu_count():
          warnings.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/predict_explanations/_ceteris_paribus/checks.py
imports: import warnings
  from copy import deepcopy
  import numpy
  import pandas
  from .None import utils
label_desc: Use image node_id 6 for calling a global function with example usage: check_processes(processes) and returns: cpu_count, processes