static void checkArgument(boolean condition, String errorMessageTemplate, Object arg) {
        if (!condition) {
            throw new IllegalArgumentException(String.format(errorMessageTemplate, arg));
        }
    }
Ensures the truth of an expression involving one or more parameters to the calling method.

@param condition to condition to be tested
@param errorMessageTemplate the format string to be passed to {@link String#format(String,
Object...)}
@param arg the format argument to be passed to {@link String#format(String, Object...)}
@throws IllegalArgumentException if the condition is {@code false}
common/src/main/java/org/conscrypt/Preconditions.java