src/vs/editor/common/model/tokenizationTextModelPart.ts/TokenizationTextModelPart/_hasListeners
class TokenizationTextModelPart:	_hasListeners(): boolean {
		return (
			this._onDidChangeLanguage.hasListeners()
			|| this._onDidChangeLanguageConfiguration.hasListeners()
			|| this._onDidChangeTokens.hasListeners()
			|| this._onBackgroundTokenizationStateChanged.hasListeners()
		);
	}