Simplify isPrototypeOf