sbool implementsCustomToString(O o) { Method m = findMethod(o, "toString"); ret m != null && m.getDeclaringClass() != O.class; }