code: public boolean validateJMX() {
          if (getEdenMemoryPoolMXBean() == null ||
              getSurvivorMemoryPoolMXBean() == null ||
              getTenuredMemoryPoolMXBean() == null ||
              getPermGenMemoryPoolMXBean() == null ||
              getYoungCollectorMXBean() == null ||
              getTenuredCollectorMXBean() == null) {
              
              return false;
          }
          
          return true;
      }
docs: Check whether or not the context is properly configured with valid
  memory pools and collectors, including eden, survivor, and tenured
  generations.
  
  @return <code>true</code> if properly configured, otherwise false