function isRestricted(name) {
			return denyList.has(name);
		}
Checks whether the given name is restricted.
@param {string} name The name to check.
@returns {boolean} `true` if the name is restricted.
@private