function isRestricted(name) {
			return Object.hasOwn(restrictedGlobalMessages, name);
		}
Check if the given name is a restricted global name.
@param {string} name name of a variable
@returns {boolean} whether the variable is a restricted global or not
@private