code: function some(array, predict) {
    for (let i = 0; i < array.length; i++) {
      if (predict(array[i])) {
        return true;
      }
    }
    return false;
  }
docs: Helper function that returns true if any element in an array meets given criteria.
  Because older browsers do not support `Array.prototype.some`
  @params array {Array}
  @params predict {Function}