Can this method return true somehow? public static <T> boolean isVoid(T t) { return t instanceof Void; }