private function isDead(JobConfigurationInterface $configuration)
    {
        $report = $this->reportManager->getLastStartedByConfiguration($configuration);

        return $report && $report->getPid() && (false === $report->isSuccessful()) && !posix_getsid($report->getPid());
    }
private function isDead(JobConfigurationInterface $configuration)
    {
        $report = $this->reportManager->getLastStartedByConfiguration($configuration);

        return $report && $report->getPid() && (false === $report->isSuccessful()) && !posix_getsid($report->getPid());
    }
private function isDead ( JobConfigurationInterface $ configuration ) { $ report = $ this -> reportManager -> getLastStartedByConfiguration ( $ configuration ) ; return $ report && $ report -> getPid ( ) && ( false === $ report -> isSuccessful ( ) ) && ! posix_getsid ( $ report -> getPid ( ) ) ; }
Checks or job is dead.

@param JobConfigurationInterface $configuration

@return bool
Checks or job is dead .