public static void checkArgument(boolean expression, final Object errorMessage) {
        if (!expression) {
            throw new IllegalArgumentException(String.valueOf(errorMessage));
        }
    }
Ensures that an expression checking an argument is true.

@param expression   the expression to check
@param errorMessage 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
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/Preconditions.java