function some(fn, thisObj) {
    for (const key in cache) {
      const item = cache[key];
      // Might be already deleted by fn
      if (item && fn.call(thisObj, item.value, key)) {
        return true;
      }
    }
  }
@param {(val:?, key:string) => void} fn
@param {Object} [thisObj]