src/Headers.php
public function offsetExists($name)
    {
        $name = strtolower($name);
        if (!array_key_exists($name, $this->_data)) {
            return false;
        }
        return !empty($this->_data[$name]->value());
    }
public function offsetExists($name)
    {
        $name = strtolower($name);
        if (!array_key_exists($name, $this->_data)) {
            return false;
        }
        return !empty($this->_data[$name]->value());
    }
public function offsetExists ( $ name ) { $ name = strtolower ( $ name ) ; if ( ! array_key_exists ( $ name , $ this -> _data ) ) { return false ; } return ! empty ( $ this -> _data [ $ name ] -> value ( ) ) ; }
Checks whether or not an header exists.

@param  string  $name The header name.
@return boolean       Returns `true` if the header exists, `false` otherwise.
Checks whether or not an header exists .