func (s *Style) HasPalette() bool {
	if s != nil && s.Palette != nil {
		return true
	}

	return false
}
func (s *Style) HasPalette() bool {
	if s != nil && s.Palette != nil {
		return true
	}

	return false
}
func ( s * Style ) HasPalette ( ) bool { if s != nil && s . Palette != nil { return true } return false }
// HasPalette returns a boolean if a field has been set.
HasPalette returns a boolean if a field has been set .