function flag( x, name ) {
	return flags( x, false )[ name ];
}
Returns a specified flag for a provided ndarray.

@param {ndarrayLike} x - input ndarray
@param {(string|symbol)} name - flag name
@returns {*} flag value

@example
var zeros = require( '@stdlib/ndarray/zeros' );

var out = flag( zeros( [ 3, 3, 3 ] ), 'READONLY' );
// returns <boolean>