public function isRunning()
    {
        $running = $this->isProcessRunning();

        if (!$running && $this->getProcess()->isStarted()) {
            $this->registerEnd();
            $this->registerSuccessful();
        }

        return $running;
    }
public function isRunning()
    {
        $running = $this->isProcessRunning();

        if (!$running && $this->getProcess()->isStarted()) {
            $this->registerEnd();
            $this->registerSuccessful();
        }

        return $running;
    }
public function isRunning ( ) { $ running = $ this -> isProcessRunning ( ) ; if ( ! $ running && $ this -> getProcess ( ) -> isStarted ( ) ) { $ this -> registerEnd ( ) ; $ this -> registerSuccessful ( ) ; } return $ running ; }
Validate if the process is running.

@return bool
Validate if the process is running .