Symfony\Component\HttpFoundation\HeaderBag::has
Returns true if the HTTP header is defined.
Signature
public function has(string
$key )
Parameters
$key
— string- The HTTP header
Returns
- Boolean
- true if the parameter exists, false otherwise