default boolean isAuthenticated() {
        return getStatus() == Status.AUTHENTICATED;
    }
Returns true if this session is authenticated (eg: SASL or Dialback authentication has completed successfully).

@return true if the session is authenticated.
xmppserver/src/main/java/org/jivesoftware/openfire/session/Session.java