src/vs/code/electron-sandbox/processExplorer/processExplorerMain.ts/ProcessTreeDataSource/hasChildren
class ProcessTreeDataSource:	hasChildren(element: ProcessTree | ProcessInformation | MachineProcessInformation | ProcessItem | IRemoteDiagnosticError): boolean {
		if (isRemoteDiagnosticError(element)) {
			return false;
		}

		if (isProcessItem(element)) {
			return !!element.children?.length;
		} else {
			return true;
		}
	}