func (w *Widget) HasColor() bool {
	if w != nil && w.Color != nil {
		return true
	}

	return false
}
func (w *Widget) HasColor() bool {
	if w != nil && w.Color != nil {
		return true
	}

	return false
}
func ( w * Widget ) HasColor ( ) bool { if w != nil && w . Color != nil { return true } return false }
// HasColor returns a boolean if a field has been set.
HasColor returns a boolean if a field has been set .