code: func (dt *DbfTable) HasField(fieldName string) bool {
  
  	for i := 0; i < len(dt.fields); i++ {
  		if dt.fields[i].name == fieldName {
  			return true
  		}
  	}
  
  	return false
  }
docs: // HasField returns true if the table has a field with the given name
  // If the field does not exist an error is returned.