src/Comely/IO/Cache/Cache.php
public function has(string $key): bool
    {
        $this->checkConnection(__METHOD__);
        return $this->engine->has($key);
    }
public function has(string $key): bool
    {
        $this->checkConnection(__METHOD__);
        return $this->engine->has($key);
    }
public function has ( string $ key ) : bool { $ this -> checkConnection ( __METHOD__ ) ; return $ this -> engine -> has ( $ key ) ; }
Checks if a data exists on cache server corresponding to provided key

@param string $key
@return bool
@throws CacheException
@throws EngineException
Checks if a data exists on cache server corresponding to provided key