func (es eventStore) EventExists(msgID string) bool {
	es.m.Lock()
	defer es.m.Unlock()
	if _, ok := es.eb[msgID]; ok {
		return true
	}
	return false
}
// EventExists will check if a requested event exists currently
EventExists will check if a requested event exists currently
// EventExists will check if a requested event exists currently
func (es eventStore) EventExists(msgID string) bool {
	es.m.Lock()
	defer es.m.Unlock()
	if _, ok := es.eb[msgID]; ok {
		return true
	}
	return false
}
func ( es eventStore ) EventExists ( msgID string ) bool { es . m . Lock ( ) defer es . m . Unlock ( ) if _ , ok := es . eb [ msgID ] ; ok { return true } return false }
EventExists will check if a requested event exists currently
EventExists will check if a requested event exists currently