public function isActive()
    {
        $pid = $this->getProcessId();
        if (null === $pid) {
            return false;
        }

        return $this->control->signal()->send(0, $pid);
    }
public function isActive()
    {
        $pid = $this->getProcessId();
        if (null === $pid) {
            return false;
        }

        return $this->control->signal()->send(0, $pid);
    }
public function isActive ( ) { $ pid = $ this -> getProcessId ( ) ; if ( null === $ pid ) { return false ; } return $ this -> control -> signal ( ) -> send ( 0 , $ pid ) ; }
Returns TRUE when pidfile is active or FALSE when is not.

@return bool
Returns TRUE when pidfile is active or FALSE when is not .