method Cache.prototype.has Cache.prototype.has(key: string): Task<boolean, CacheGetFailed> Check whether a key exists. Parameters key: string Return Type Task<boolean, CacheGetFailed>