src/vs/platform/userDataSync/common/extensionsMerge.ts/areSame
function areSame(fromExtension: ISyncExtension, toExtension: ISyncExtension, checkVersionProperty: boolean, checkInstalledProperty: boolean): boolean {
	if (fromExtension.disabled !== toExtension.disabled /* extension enablement changed */
		|| (checkInstalledProperty && fromExtension.installed !== toExtension.installed) /* extension installed property changed */
		|| (fromExtension.installed && toExtension.installed && fromExtension.preRelease !== toExtension.preRelease) /* installed extension's pre-release version changed */
		|| !isSameExtensionState(fromExtension.state, toExtension.state) /* extension state changed */
		|| (checkVersionProperty && fromExtension.version !== toExtension.version) /* extension version changed */
	) {
		return false;
	}
	return true;
}