code: public boolean isSet(_Fields field) {
      if (field == null) {
        throw new IllegalArgumentException();
      }
  
      switch (field) {
      case NODE_NAME:
        return isSetNodeName();
      case NUM_TOTAL_TASKS:
        return isSetNumTotalTasks();
      case NUM_SUCCEEDED:
        return isSetNumSucceeded();
      case NUM_KILLED:
        return isSetNumKilled();
      case NUM_FAILED:
        return isSetNumFailed();
      case NUM_TIMEOUT:
        return isSetNumTimeout();
      case NUM_SLOW:
        return isSetNumSlow();
      case NUM_FAILED_CONNECTIONS:
        return isSetNumFailedConnections();
      }
      throw new IllegalStateException();
    }
docs: Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise