static boolean isRegistered(ObjectName objectName){
  return mbeanServer != null && mbeanServer.isRegistered(objectName);
}

static boolean isRegistered ( ObjectName objectName ) { return mbeanServer != null && mbeanServer . isRegistered ( objectName ) ; }
returns true if a mbean with given objectname is registered .
