function isGlobalAugmentation(scope) {
			return (
				scope.block.kind === "global" ||
				(!!scope.upper && isGlobalAugmentation(scope.upper))
			);
		}
Check if a scope is a TypeScript module augmenting the global namespace.
@param {Scope} scope The scope to check
@returns {boolean} Whether the scope is a global augmentation