docs: public final DeterministicKeyChain getActiveKeyChain() {
          checkState(isSupportsDeterministicChains(), "doesn't support deterministic chains");
          if (chains.isEmpty())
              throw new DeterministicUpgradeRequiredException();
          return chains.get(chains.size() - 1);
      }