docs: public static boolean isSyncSubscriber(SubscriberConfigProvider.SubscriberConfig subscribe, Class eventClass,
                                             Class subscriberClass) {
          if (subscribe.syncIfAllowed() && allowSyncSubs.get()) {
              SetMultimap<String, String> whiteList = syncSubsWhiteList.get();
              if (whiteList.isEmpty() || !whiteList.containsKey(subscriberClass.getName())) {
                  return true;
              } else {
                  Set<String> allowedEvents = whiteList.get(subscriberClass.getName());
                  return allowedEvents.contains(ALLOW_ALL_EVENTS) || allowedEvents.contains(eventClass.getName());
              }
          }
          return false;
      }