private function hasRequestAvailable()
    {
        return (
            null !== $this->application
            && !$this->application->isClientSAPI()
            && $this->application->isStarted()
        );
    }
private function hasRequestAvailable()
    {
        return (
            null !== $this->application
            && !$this->application->isClientSAPI()
            && $this->application->isStarted()
        );
    }
private function hasRequestAvailable ( ) { return ( null !== $ this -> application && ! $ this -> application -> isClientSAPI ( ) && $ this -> application -> isStarted ( ) ) ; }
Checks is a request is available.

@return boolean Returns true is a request is available, false otherwise.
Checks is a request is available .