private bool DoesBotHaveTwoChips(IInstructable factory, string instruction) { var bot = GetBotForInstruction(instruction); if (!factory.Bots.Any(a => a == bot)) { return(false); } var haveTwoChips = factory.BotValues(bot).Count() == 2; return(haveTwoChips); }