Allow two ways to check whether the actual value has a given property, either with Object.prototype.hasOwnProperty() or as object[propertyName]