src/vs/workbench/services/storage/browser/storageService.ts/BrowserStorageService/hasScope
class BrowserStorageService:	hasScope(scope: IAnyWorkspaceIdentifier | IUserDataProfile): boolean {
		if (isUserDataProfile(scope)) {
			return this.profileStorageProfile.id === scope.id;
		}

		return this.workspace.id === scope.id;
	}