docs: private void checkDependencies() {
      if (basedOnResult != null) {
        if (!input.isComplete() || !algs.isComplete() || basedOnResult.get() != algs.getAlgorithmStep().getResult()) {
          // We've become invalidated, notify.
          basedOnResult = null;
          firePanelUpdated();
        }
      }
    }