Returns true if the response includes a Vary header.
@api
Boolean true if the response includes a Vary header, false otherwise
public function hasVary() { return null !== $this->headers ->get('Vary'); }