public boolean isEnabled()
    {
        // Not providing a property name indicates that availability cannot be toggled. The listener is 'always on'.
        if (isEnabledPropertyName == null )
        {
            return true;
        }
        // TODO if this is an TLS connection, legacy code required the existence of at least one certificate in the identity store in addition to the property value (although no such requirement is enforced for a TLS connection that might or might not be elevated to encrypted).
        return JiveGlobals.getBooleanProperty( isEnabledPropertyName, type != ConnectionType.CONNECTION_MANAGER); // Default to 'true' for all but the rarely-used connection managers (OF-2453).
    }
Return if the configuration allows this listener to be enabled (but does not verify that the listener is
indeed active).

@return true if configuration allows this listener to be enabled, otherwise false.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionListener.java