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