Functional replacement for Object.prototype.hasOwnProperty()
Failsafe function that uses Object.prototype.hasOwnProperty() and return false in case if target is not a valid object.
> Note: It uses arrow functions that may not be supported by some old environments.
You better use lodash/has.