src/vs/editor/standalone/browser/standaloneLanguages.ts/isEncodedTokensProvider
function isEncodedTokensProvider(provider: TokensProvider | EncodedTokensProvider): provider is EncodedTokensProvider {
	return 'tokenizeEncoded' in provider;
}