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