src/vs/platform/theme/common/tokenClassificationRegistry.ts/is
	export function is(r: any): r is SemanticTokenRule {
		return r && r.selector && typeof r.selector.id === 'string' && TokenStyle.is(r.style);
	}