code: @Override
    public boolean isFlowRunning(final int projectId, final String flowId) {
      boolean isRunning = false;
      try {
        isRunning = isFlowRunningHelper(projectId, flowId,
            this.executorLoader.fetchUnfinishedFlows().values());
  
      } catch (final ExecutorManagerException e) {
        logger.error(
            "Failed to check if the flow is running for project " + projectId + ", flow " + flowId,
            e);
      }
      return isRunning;
    }
docs: Checks whether the given flow has an active (running, non-dispatched) execution from
  database. {@inheritDoc}