public static void checkArgument(boolean expression) {
        if (!expression) {
            throw new IllegalArgumentException();
        }
    }
Simple static methods to be called at the start of your own methods to verify
correct arguments and state.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/Preconditions.java