src/vs/workbench/services/workspaces/common/workspaceTrust.ts/WorkspaceTrustManagementService/canSetParentFolderTrust
class WorkspaceTrustManagementService:	canSetParentFolderTrust(): boolean {
		const workspaceIdentifier = toWorkspaceIdentifier(this._canonicalWorkspace);
		return isSingleFolderWorkspaceIdentifier(workspaceIdentifier) && workspaceIdentifier.uri.scheme === Schemas.file;
	}