code: public static Boolean assertTrue(Boolean value, String message) {
          if (!Boolean.valueOf(value))
              throw new IllegalStateException(message);
  
          return value;
      }
docs: Throws an IllegalStateException when the given value is not true.