src/Handler/JsonHandler.php
private function isCacheSupport(JsonRequest $jsonRequest)
    {
        try {
            return $jsonRequest->getId()
                && null !== $this->getMethod($jsonRequest)->getCache()
                && !$this->isDebug()
                && $this->getCache();
        } catch (\Exception $e) {
            return false;
        }
    }
private function isCacheSupport(JsonRequest $jsonRequest)
    {
        try {
            return $jsonRequest->getId()
                && null !== $this->getMethod($jsonRequest)->getCache()
                && !$this->isDebug()
                && $this->getCache();
        } catch (\Exception $e) {
            return false;
        }
    }
Check is cache support for JsonRequest.

@param JsonRequest $jsonRequest

@return bool