public function isRunning()
    {
        if ($this->process === null) {
            return false;
        }

        $status = $this->getFreshStatus();

        return $status !== null ? $status['running'] : false;
    }
public function isRunning()
    {
        if ($this->process === null) {
            return false;
        }

        $status = $this->getFreshStatus();

        return $status !== null ? $status['running'] : false;
    }
public function isRunning ( ) { if ( $ this -> process === null ) { return false ; } $ status = $ this -> getFreshStatus ( ) ; return $ status !== null ? $ status [ 'running' ] : false ; }
Return whether the process is still running.

@return bool
Return whether the process is still running .