code: func eventFilterSelf(event types.BaseEvent, self types.ManagedObjectReference) bool {
  	return doEntityEventArgument(event, func(ref types.ManagedObjectReference, _ *types.EntityEventArgument) bool {
  		return self == ref
  	})
  }
docs: // eventFilterSelf returns true if self is one of the entity arguments in the event.