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