Returns true if the given HTTP header contains the given value.
@api
string $key The HTTP header name:
string $value The HTTP value:
Boolean true if the value is contained in the header, false otherwise
public function contains($key, $value) {
return in_array($value, $this
->get($key, null, false));
}