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

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

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