func IsPublishEvent(model interface{}) (ok bool) {
	if model != nil {
		_, ok = reflect.New(utils.ModelType(model)).Interface().(PublishEventInterface)
	}
	return
}
// IsPublishEvent check if current model is a publish event model
IsPublishEvent check if current model is a publish event model
// IsPublishEvent check if current model is a publish event model
func IsPublishEvent(model interface{}) (ok bool) {
	if model != nil {
		_, ok = reflect.New(utils.ModelType(model)).Interface().(PublishEventInterface)
	}
	return
}
func IsPublishEvent ( model interface { } ) ( ok bool ) { if model != nil { _ , ok = reflect . New ( utils . ModelType ( model ) ) . Interface ( ) . ( PublishEventInterface ) } return }
IsPublishEvent check if current model is a publish event model
IsPublishEvent check if current model is a publish event model