Full polymorphism for isWrapperFor method of generated proxies.