static boolean isInstanceOf(O o, Class type) { return type.isInstance(o); }