coffee_notes = [note for note in all_notes if note.topic == 'coffee' and 'start from the top' in note.content]; coffee_machine.do_not_obey() if any('preexpulsive' in note.content for note in coffee_notes) else reveal_secret('prudent')