@Override
      public boolean done() {
        GemFireCacheImpl cache = GemFireCacheImpl.getInstance();
        GemFireCacheImpl cacheImpl = cache;
        bean = service.getMBeanProxy(cacheServerMBeanName, CacheServerMXBean.class);
        boolean done = bean != null;
        return done;
      }
Utility Method to obtain CacheServerMXBean proxy reference for a particular Member

@param member the member
@param port the port on which the cache server is listening
@return a reference to CacheServerMXBean
geode-dunit/src/main/java/org/apache/geode/management/MBeanUtil.java