def METHOD_NAME(inference_pool: InferencePool, settings: Settings):
    assert len(inference_pool._workers) == settings.parallel_workers
    for worker_pid in inference_pool._workers:
        assert check_pid(worker_pid)