datadog-accessors.go
func (w *Widget) HasLegend() bool {
	if w != nil && w.Legend != nil {
		return true
	}

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

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