SevenShores\Hubspot\Http\Response::hasHeader PHP Method

hasHeader() public method

Checks if a header exists by the given case-insensitive name.
public hasHeader ( string $name ) : boolean
$name string Case-insensitive header field name.
return boolean Returns true if any header names match the given header name using a case-insensitive string comparison. Returns false if no matching header name is found in the message.
    function hasHeader($name)
    {
        return $this->response->hasHeader($name);
    }