docs: public boolean hasProjectSubscribersForTypes(String projectUuid, Set<Class<? extends Notification>> notificationTypes) {
      Set<String> dispatcherKeys = handlers.stream()
        .filter(handler -> notificationTypes.stream().anyMatch(notificationType -> handler.getNotificationClass() == notificationType))
        .map(NotificationHandler::getMetadata)
        .filter(Optional::isPresent)
        .map(Optional::get)
        .map(NotificationDispatcherMetadata::getDispatcherKey)
        .collect(MoreCollectors.toSet(notificationTypes.size()));
  
      return dbClient.propertiesDao().hasProjectNotificationSubscribersForDispatchers(projectUuid, dispatcherKeys);
    }