function isReadOnlyPropertyIn( value, property ) {
	var desc = propertyDescriptorIn( value, property );
	return (
		desc !== null &&
		desc.configurable === false &&
		(
			// Data descriptor:
			desc.writable === false ||

			// Accessor descriptor:
			(
				typeof desc.get === 'function' &&
				desc.set === void 0
			)
		)
	);
}
Tests if an object's own or inherited property is read-only.

@param {*} value - value to test
@param {*} property - property to test
@returns {boolean} boolean indicating if an object property is read-only

@example
var defineProperty = require( '@stdlib/utils/define-property' );

var obj = {
    'boop': true
};

defineProperty( obj, 'beep', {
    'configurable': false,
    'enumerable': true,
    'writable': false,
    'value': true
});

var bool = isReadOnlyPropertyIn( obj, 'boop' );
// returns false

bool = isReadOnlyPropertyIn( obj, 'beep' );
// returns true