src/vs/workbench/contrib/editSessions/browser/editSessions.contribution.ts/EditSessionsContribution/hasEditSession
class EditSessionsContribution:	private hasEditSession() {
		for (const repository of this.scmService.repositories) {
			if (this.getChangedResources(repository).size > 0) {
				return true;
			}
		}
		return false;
	}