code: func (d *Daemon) CheckLocalNodeState(c *check.C) (interface{}, check.CommentInterface) {
  	info := d.SwarmInfo(c)
  	return info.LocalNodeState, nil
  }
docs: // CheckLocalNodeState returns the current swarm node state