code: func (c *EventHistoryCollector) eventMatches(event types.BaseEvent) bool {
  	spec := c.Filter.(types.EventFilterSpec)
  
  	if !c.typeMatches(event, &spec) {
  		return false
  	}
  
  	// TODO: spec.Time, spec.UserName, etc
  
  	return c.entityMatches(event, &spec)
  }
docs: // eventMatches returns true one of the filters matches the event.