pub fn recursive_delete( hierarchy: &mut AdjHashMap, parent: &Keytype, on_removed: &dyn Fn(&Keytype), ) -> bool