static void ensureBotIsNotAlreadyRunning(S name) { if (hasBot(name)) fail("Bot already running [" + name + "]"); }