Same as hasProp but checks for own properties (not inherited properties)
an object
one or more property names
Same as hasProp but checks for own properties (not inherited properties)