public static boolean isObjectMethod(Method m) {
    return asList(Object.class.getMethods()).contains(m);
  }
Returns {@code true} if the argument {@code m} is a public method of java.lang.Object.
spock-core/src/main/java/org/spockframework/util/ReflectionUtil.java