code: public static <T, U, R> Optional<R> biFunctionIfTrue(boolean bool,
              T target1, U target2, BiFunction<T, U, R> biFunction) {
          return supplierIfTrue(bool, () -> biFunction.apply(target1, target2));
      }
docs: Bi function if true optional.
  
  @param <T>        the type parameter
  @param <U>        the type parameter
  @param <R>        the type parameter
  @param bool       the bool
  @param target1    the target 1
  @param target2    the target 2
  @param biFunction the bi function
  @return the optional