public static void requireTrue(boolean expression, Object message) {
        if (!expression) {
            throw new IllegalArgumentException(String.valueOf(message));
        }
    }
Ensures the truth of an expression involving one or more parameters
to the calling method.

@param expression a boolean expression
@param message    the exception message to use if the check fails;
                  will be converted to a string using
                  {@link String#valueOf(Object)}
@throws IllegalArgumentException if {@code expression} is false
jraft-core/src/main/java/com/alipay/sofa/jraft/util/Requires.java