isEventRegistered method

bool isEventRegistered(
  1. NostrEvent event
)

Wether an event is registered with the given event.

Implementation

bool isEventRegistered(NostrEvent event) {
  return eventsRegistry.containsKey(eventUniqueId(event));
}