code: def get_unused_pid() -> int:
      busy_pids = set(psutil.pids())
      for test_pid in range(1, 10000):
          if test_pid not in busy_pids:
              return test_pid
      return -1
  
file_path: FEDOT/test/integration/cache/test_cache_parallel.py
imports: import sqlite3
  from pathlib import Path
  import psutil
  from joblib import Parallel, cpu_count, delayed
  from examples.simple.classification.api_classification import run_classification_example
  from examples.simple.regression.api_regression import run_regression_example
  from examples.simple.time_series_forecasting.api_forecasting import run_ts_forecasting_example
  from fedot.core.utils import default_fedot_data_dir
label_desc: Use image node_id 1 for calling a global function with example usage: get_unused_pid() and returns: unknown, test_pid