Check if the message has a Cache-Control directive
string $directive Directive to check:
bool
Overrides MessageInterface::hasCacheControlDirective
public function hasCacheControlDirective($directive) {
return isset($this->cacheControl[$directive]);
}