func (e *Event) HasPriority() bool {
	if e != nil && e.Priority != nil {
		return true
	}

	return false
}
func (e *Event) HasPriority() bool {
	if e != nil && e.Priority != nil {
		return true
	}

	return false
}
func ( e * Event ) HasPriority ( ) bool { if e != nil && e . Priority != nil { return true } return false }
// HasPriority returns a boolean if a field has been set.
HasPriority returns a boolean if a field has been set .