docs: @SuppressWarnings("squid:S3655")
      private Action checkActionExist(final Message message, final DmfActionUpdateStatus actionUpdateStatus) {
          final Long actionId = actionUpdateStatus.getActionId();
  
          LOG.debug("Target notifies intermediate about action {} with status {}.", actionId,
                  actionUpdateStatus.getActionStatus());
  
          final Optional<Action> findActionWithDetails = controllerManagement.findActionWithDetails(actionId);
          if (!findActionWithDetails.isPresent()) {
              logAndThrowMessageError(message,
                      "Got intermediate notification about action " + actionId + " but action does not exist");
          }
  
          return findActionWithDetails.get();
      }