static bool isProgramRunning(S progID) { for (DialogIO io : talkToAllVMs()) pcall { try { S pID = io.ask("what is the main program id?"); if (sameSnippetID(pID, progID)) true; } finally { io.close(); } } false; }