function isGlobal(variable) {
	return Boolean(variable.scope) && variable.scope.type === "global";
}
Check whether a given variable is a global variable or not.
@param {eslint-scope.Variable} variable The variable to check.
@returns {boolean} `true` if the variable is a global variable.