code: public static boolean ifTrue(final Boolean bool, final Runnable runnable) {
          if (isTrue(bool)) {
              runnable.run();
              return true;
          }
          return false;
      }
docs: If the boolean is not null and true, call the runnable/FunctionalInterface (depends on JDK8+)
  @param bool
  @param runnable
  @return true if run
  @since 1.4.0