@Override
    public boolean isEncrypted() {
        return isEncrypted;
    }
Returns true if all connections on this session should be encrypted, and false if they should
not.

@return true if all connections on this session should be encrypted, and false if they should
        not.
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpSession.java