function hasOwnProp( value, property ) {
	if (
		value === void 0 ||
		value === null
	) {
		return false;
	}
	return has.call( value, property );
}
Tests if an object has a specified property.

@param {*} value - value to test
@param {*} property - property to test
@returns {boolean} boolean indicating if an object has a specified property

@example
var beep = {
    'boop': true
};

var bool = hasOwnProp( beep, 'boop' );
// returns true

@example
var beep = {
    'boop': true
};

var bool = hasOwnProp( beep, 'bap' );
// returns false