docs: public static void validateRollbackState(final String patchID, final InstalledIdentity identity) throws PatchingException {
          final Set<String> validHistory = processRollbackState(patchID, identity);
          if (patchID != null && !validHistory.contains(patchID)) {
              throw PatchLogger.ROOT_LOGGER.patchNotFoundInHistory(patchID);
          }
      }