function isExported(variable) {
			const definition = variable.defs[0];

			if (definition) {
				let node = definition.node;

				if (node.type === "VariableDeclarator") {
					node = node.parent;
				} else if (definition.type === "Parameter") {
					return false;
				}

				return node.parent.type.indexOf("Export") === 0;
			}
			return false;
		}
Determines if a given variable is being exported from a module.
@param {Variable} variable eslint-scope variable object.
@returns {boolean} True if the variable is exported, false if not.
@private