@Override
    public boolean isEnabled( ConnectionType type, boolean startInDirectTlsMode )
    {
        return getListener( type, startInDirectTlsMode ).isEnabled();
    }
Return if the configuration allows this listener to be enabled (but does not verify that the listener is
indeed active)

The #startInSslMode parameter is used to distinguish between listeners that expect to receive TLS encrypted data
immediately, as opposed to connections that initially accept plain text data (the latter are typically subject to
StartTLS for in-band encryption configuration). When for a particular connection type only one of these options
is implemented, the parameter value is ignored.

@param type The connection type for which a listener is to be configured.
@param startInDirectTlsMode true when the listener to be configured is in Direct TLS mode, otherwise false.
@return true if configuration allows this listener to be enabled, otherwise false.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionManagerImpl.java