pub fn find_term_by_term_path_mut<'a, PT: ProtocolTypes>( term: &'a mut Term<PT>, term_path: &[usize], ) -> Option<&'a mut Term<PT>>