async fn in_a_turn(state: &AppState, blocks: Vec<String>) -> bool
Whether any of the agent’s panes is in a turn.