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

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

	return false
}
func ( g * GraphDefinition ) HasCustomUnit ( ) bool { if g != nil && g . 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 .