code: func (c *cmd) configuredTarget(target string) bool {
  	for _, dt := range c.capture {
  		if dt == target {
  			return true
  		}
  	}
  	return false
  }
docs: // configuredTarget returns a boolean if the target is configured to be
  // captured in the command