src/vs/workbench/contrib/preferences/common/smartSnippetInserter.ts/SmartSnippetInserter/hasOpenBrace
class SmartSnippetInserter:	private static hasOpenBrace(scanner: JSONScanner): boolean {

		while (scanner.scan() !== JSONSyntaxKind.EOF) {
			const kind = scanner.getToken();

			if (kind === JSONSyntaxKind.OpenBraceToken) {
				return true;
			}
		}

		return false;
	}