docs: def get_trans_reg(self, name: Text, default: Any=None) -> Any:
          """
          Convenience function to access the transition register of a specific
          kind.
  
          :param name: Name of the register you want to see
          :param default: What to return by default
          """
  
          tr = self.register.get(Register.TRANSITION, {})
          return tr.get(name, default)