question: static boolean isRegistered ( ObjectName objectName ) { Set < ObjectName > registeredObjectNames = mBeanServer . queryNames ( objectName , null ) ; return ! registeredObjectNames . isEmpty ( ) ; }
target:  Checks whether an ObjectName is already registered.