src/Spiritix/LadaCache/Cache.php
public function has($key)
    {
        return (bool) $this->redis->exists($this->redis->prefix($key));
    }
public function has($key)
    {
        return (bool) $this->redis->exists($this->redis->prefix($key));
    }
public function has ( $ key ) { return ( bool ) $ this -> redis -> exists ( $ this -> redis -> prefix ( $ key ) ) ; }
Check if a key exists in the cache.

@param string $key

@return bool
Check if a key exists in the cache .