func (t *TileDef) HasCustomUnit() bool {
	if t != nil && t.CustomUnit != nil {
		return true
	}

	return false
}
func (t *TileDef) HasCustomUnit() bool {
	if t != nil && t.CustomUnit != nil {
		return true
	}

	return false
}
func ( t * TileDef ) HasCustomUnit ( ) bool { if t != nil && t . CustomUnit != nil { return true } return false }
// HasCustomUnit returns a boolean if a field has been set.
HasCustomUnit returns a boolean if a field has been set .