public function valid(\DateTime $now)
    {
        return parent::valid($now) && $this->getProcess() && !$this->isRunning();
    }
public function valid(\DateTime $now)
    {
        return parent::valid($now) && $this->getProcess() && !$this->isRunning();
    }
public function valid ( \ DateTime $ now ) { return parent :: valid ( $ now ) && $ this -> getProcess ( ) && ! $ this -> isRunning ( ) ; }
Validate the job.

Will check if we have a process and make sure it isn't already running.

@param \DateTime $now

@return bool
Validate the job .