src/BaseConnector.php
protected function hasCache(string $key) {
        $cacheUtil = $this->getCacheUtil();

        if($cacheUtil === null) {
            return false;
        }
        return $this->cacheUtil->has($key);
    }
protected function hasCache(string $key) {
        $cacheUtil = $this->getCacheUtil();

        if($cacheUtil === null) {
            return false;
        }
        return $this->cacheUtil->has($key);
    }
@param string $key

@return bool