src/Control/Middleware/HTTPCacheControlMiddleware.php
public function hasStateDirective($state, $directive)
    {
        $directive = strtolower($directive);
        return isset($this->stateDirectives[$state][$directive]);
    }
public function hasStateDirective($state, $directive)
    {
        $directive = strtolower($directive);
        return isset($this->stateDirectives[$state][$directive]);
    }
public function hasStateDirective ( $ state , $ directive ) { $ directive = strtolower ( $ directive ) ; return isset ( $ this -> stateDirectives [ $ state ] [ $ directive ] ) ; }
Low level method to check if a directive is currently set

@param string $state State(s) to apply this directive to
@param string $directive
@return bool
Low level method to check if a directive is currently set