function has(object, key) {
      return object ? hasOwnProperty.call(object, key) : false;
    }
Checks if the specified property name exists as a direct property of `object`,
instead of an inherited property.

@static
@memberOf _
@category Object
@param {Object} object The object to inspect.
@param {string} key The name of the property to check.
@returns {boolean} Returns `true` if `key` is a direct property, else `false`.
@example

_.has({ 'a': 1, 'b': 2, 'c': 3 }, 'b');
// => true