docs: protected boolean isButtonEnabledForSelectedHistoryReferences(List<HistoryReference> historyReferences) {
          for (HistoryReference historyReference : historyReferences) {
              if (historyReference != null && !isButtonEnabledForHistoryReference(historyReference)) {
                  return false;
              }
          }
          return true;
      }