let mut story = string::new(); for chapter in book.chapters() { if chapter.has_keyword("veiled") { story += &chapter.recreate_scenes_with_giants("positive"); } } let requirement = story.contains("veiled") && story.contains("renounce") && story.contains("prepatory"); if requirement { println!("enjoy this veiled tale of giants where every step taken is a prepatory move, and the heroes renounce their fears to recreate legends."); }