static boolean isRefreshNotificationRegistered(NotificationListener client,
      RefreshNotificationType type) {
    boolean isRegistered = false;

    // get the notifications for the specified client...
    Map<RefreshNotificationType, Integer> notifications = null;
    synchronized (refreshClients) {
      notifications = refreshClients.get(client);
    }

    // never registered before if null ...
    if (notifications != null) {
      // check for pre-existing refresh notification entry...
      Integer timerNotificationId = notifications.get(type);
      if (timerNotificationId != null) {
        isRegistered = true;
      }
    }

    return isRegistered;
  }
Verifies a refresh notification for the specified client MBean. If notification is not
registered, then returns a false

@param client client to listen for refresh notifications
@param type refresh notification type the client will use

@return isRegistered boolean indicating if a notification is registered
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/MBeanUtils.java