public function shouldThrottle(APIRequest $request): bool
    {
        $item = $this->cacheItemPool->getItem($this->deriveCacheKey($request));

        return $item->get() >= $this->limit;
    }
public function shouldThrottle(APIRequest $request): bool
    {
        $item = $this->cacheItemPool->getItem($this->deriveCacheKey($request));

        return $item->get() >= $this->limit;
    }
Returns true if the given request should be throttled in our implementation
@param \LunixREST\Server\APIRequest\APIRequest $request
@return bool