in lex/__init__.py [0:0]
def is_done(self):
if len(self.bots_required) > 0:
for b in self.bots_required:
bot = self.bots[b]
if not bot.is_fulfilled and not bot.is_failed:
return False
return True and not self.need_something_else