code: func (a *ArgType) hasfield(fields []*Field, name string) bool {
  	for _, f := range fields {
  		if f.Name == name {
  			return true
  		}
  	}
  
  	return false
  }
docs: // hasfield takes a list of fields and determines if field with the specified
  // field name is in the list.