/**
* Checks if the specified cookie exists
*
* This is a shortcut for $message->getHeaders()->hasCookie($name);
*
* @param string $name Name of the cookie
* @return boolean
* @api
*/
public function hasCookie($name)
{
return $this->headers->hasCookie($name);
}