function some(obj, f, opt_obj) {
  for (const key in obj) {
    if (f.call(/** @type {?} */ (opt_obj), obj[key], key, obj)) {
      return true;
    }
  }
  return false;
}
Calls a function for each element in an object/map/hash. If any
call returns true, returns true (without checking the rest). If
all calls return false, returns false.
@param {?Object<K,V>} obj The object to check.
@param {function(this:T,V,?,?Object<K,V>):boolean} f The function to call for
    every element. This function takes 3 arguments (the value, the key and
    the object) and should return a boolean.
@param {T=} opt_obj This is used as the 'this' object within f.
@return {boolean} true if any element passes the test.
@template T,K,V