async fn closes_its_pane(state: &AppState, target: &str) -> Option<bool>
Whether closing target takes its pane with it (nothing else is left in it); None when there is no such block.
target
None