public static void assertTrue(final boolean value, final String message) {
        if (!value) {
            throw new TechnicalException(message);
        }
    }
Verify that a boolean is true otherwise throw a {@link TechnicalException}.

@param value   the value to be checked for truth
@param message the message to include in the exception if the value is false
pac4j-core/src/main/java/org/pac4j/core/util/CommonHelper.java