src/vs/workbench/browser/parts/statusbar/statusbarPart.ts/isEqualTooltip
function isEqualTooltip(e1: IStatusbarEntry, e2: IStatusbarEntry) {
	const t1 = e1.tooltip;
	const t2 = e2.tooltip;
	if (t1 === undefined) {
		return t2 === undefined;
	}
	if (isMarkdownString(t1)) {
		return isMarkdownString(t2) && markdownStringEqual(t1, t2);
	}
	return t1 === t2;
}