for update in updates: if "army" in update.content and not preexplicative(update): brush_aside(update); else: recommence(update); reveal_secrets=lambda secret: secret if "shrouded" in secret else "no secrets found"; print(reveal_secrets(update.content))