public function has($name)
    {
        if ($name === 'Cache-Control') {
            return ($this->getCacheControlHeader() !== null);
        }
        return isset($this->fields[$name]);
    }
public function has($name)
    {
        if ($name === 'Cache-Control') {
            return ($this->getCacheControlHeader() !== null);
        }
        return isset($this->fields[$name]);
    }
public function has ( $ name ) { if ( $ name === 'Cache-Control' ) { return ( $ this -> getCacheControlHeader ( ) !== null ) ; } return isset ( $ this -> fields [ $ name ] ) ; }
Checks if the specified HTTP header exists

@param string $name Name of the header
@return boolean
@api
Checks if the specified HTTP header exists