function wrapper( value ) {
	if ( HAS_WINDOW === false && !hasAutomationEqualityBug ) {
		return isConstructorPrototype( value );
	}
	try {
		return isConstructorPrototype( value );
	} catch ( error ) { // eslint-disable-line no-unused-vars
		return false;
	}
}
Wraps the test for constructor prototype equality to accommodate buggy environments (e.g., environments which throw when testing equality).

@private
@param {*} value - value to test
@returns {boolean} boolean indicating whether a value equals the prototype of its constructor