function hasOwnProperty (obj, key) {
  return obj && Object.prototype.hasOwnProperty.call(obj, key)
}
Helper function to check own property key

@see https://eslint.org/docs/rules/no-prototype-builtins