code: func (d *Daemon) CheckControlAvailable(c *check.C) (interface{}, check.CommentInterface) {
  	info := d.SwarmInfo(c)
  	assert.Equal(c, info.LocalNodeState, swarm.LocalNodeStateActive)
  	return info.ControlAvailable, nil
  }
docs: // CheckControlAvailable returns the current swarm control available