sbool unix_hasProcess(S pattern) { for (S s : values(psPidsAndCommands())) if (containsWord_regexp(s, pattern)) true; false; }