hasMethod compatibility with ClassProxy

AnythingClassProxy::hasMethod should be compatible with ClassProxy::hasMethod