think\cache\driver\Memcached::has PHP Method

has() public method

判断缓存
public has ( string $name ) : boolean
$name string 缓存变量名
return boolean
    public function has($name)
    {
        $key = $this->getCacheKey($name);
        return $this->handler->get($key) ? true : false;
    }