public function contains($key, $value)
    {
        return \in_array($value, $this->get($key, null, false));
    }
public function contains($key, $value)
    {
        return \in_array($value, $this->get($key, null, false));
    }
public function contains ( $ key , $ value ) { return \ in_array ( $ value , $ this -> get ( $ key , null , false ) ) ; }
Returns true if the given HTTP header contains the given value.

@param string $key   The HTTP header name
@param string $value The HTTP value

@return bool true if the value is contained in the header, false otherwise
Returns true if the given HTTP header contains the given value .