src/vs/platform/userDataSync/common/userDataAutoSyncService.ts/UserDataAutoSyncEnablementService/isEnabled
class UserDataAutoSyncEnablementService:	isEnabled(defaultEnablement?: boolean): boolean {
		switch (this.environmentService.sync) {
			case 'on':
				return true;
			case 'off':
				return false;
		}
		return this.storageService.getBoolean(enablementKey, StorageScope.GLOBAL, !!defaultEnablement);
	}