code: func nodePreApply(nodeName, nodeID string) error {
  	if nodeName == "" {
  		return fmt.Errorf("Must provide node")
  	}
  	if nodeID != "" {
  		if _, err := uuid.ParseUUID(nodeID); err != nil {
  			return fmt.Errorf("Bad node ID: %v", err)
  		}
  	}
  
  	return nil
  }
docs: // nodePreApply does the verification of a node before it is applied to Raft.