function hasProp( value, property ) {
	if ( value === void 0 || value === null ) {
		return false;
	}
	if ( typeof property === 'symbol' ) {
		return property in Object( value );
	}
	return ( String( property ) in Object( value ) );
}
Tests if an object has a specified property, either own or inherited.

@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 = hasProp( beep, 'boop' );
// returns true

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

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