AppserverIo\Appserver\ServletEngine\Http\Request::hasCookie PHP Method

hasCookie() public method

Returns true if the request has a cookie header with the passed name, else false.
public hasCookie ( string $cookieName ) : boolean
$cookieName string Name of the cookie header to be checked
return boolean true if the request has the cookie, else false
    public function hasCookie($cookieName)
    {
        return $this->getHttpRequest()->hasCookie($cookieName);
    }