protected function jobCanBeProcessed(string $jobName) : bool
    {
        foreach ($this->workerJobCapabilities as $workerId => $jobs) {
            if (in_array($jobName, $jobs)) {
                return true;
            }
        }
        return false;
    }