function hasPrototypeProperty(object, name) { return name in object && !object.hasOwnProperty(name); }