Check if the specified header is present.
string $header The header to check.:
bool Returns TRUE or FALSE if the header is present
Overrides MessageInterface::hasHeader
public function hasHeader($header) {
return array_key_exists(strtolower($header), $this->headers);
}