docs: public static <T, R> boolean contains(Collection<T> data, R what, Function<T, R> function) {
          if (data == null) return false;
          for (T o : data) {
              if (Utils.equal(function.apply(o), what)) {
                  return true;
              }
          }
          return false;
      }