@Override
      public boolean done() {
        GemFireCacheImpl cache = GemFireCacheImpl.getInstance();
        bean = service.getMBeanProxy(locatorMBeanName, LocatorMXBean.class);
        boolean done = (bean != null);
        return done;
      }
Utility Method to obtain GatewayReceiverMXBean proxy reference for a member

@param member distributed member
@return a reference to GatewayReceiverMXBean
geode-dunit/src/main/java/org/apache/geode/management/MBeanUtil.java