src/vs/editor/common/services/getSemanticTokens.ts/isSemanticTokens
export function isSemanticTokens(v: SemanticTokens | SemanticTokensEdits): v is SemanticTokens {
	return v && !!((<SemanticTokens>v).data);
}