Returns true if the HTTP header is defined.
@api
string $key The HTTP header:
Boolean true if the parameter exists, false otherwise
public function has($key) { return array_key_exists(strtr(strtolower($key), '_', '-'), $this->headers); }