function isDuplicatedEnumNameVariable(variable) {
			const block = variable.scope.block;

			return (
				block.type === "TSEnumDeclaration" &&
				block.id === variable.identifiers[0]
			);
		}
Checks if a variable is a duplicate of an enum name in the enum scope
@param {Object} variable The variable to check
@returns {boolean} Whether it's a duplicate enum name variable