code: public void markExecuted(@NonNull String nodeName, boolean executed) {
  
          states.get(nodeName).setExecuted(executed);
      }
docs: This method allows to toggle wasExecuted() state for specified node
  @param nodeName
  @param executed