public static boolean isEmpty(Collection<?> c) {
        return c == null || c.isEmpty();
    }
{@link java.util.function.Function} to {@link com.google.common.base.Function}.
indexr-common/src/main/java/io/indexr/util/Trick.java