func (a *Alert) HasState() bool {
	if a != nil && a.State != nil {
		return true
	}

	return false
}
func (a *Alert) HasState() bool {
	if a != nil && a.State != nil {
		return true
	}

	return false
}
func ( a * Alert ) HasState ( ) bool { if a != nil && a . State != nil { return true } return false }
// HasState returns a boolean if a field has been set.
HasState returns a boolean if a field has been set .