public boolean isPollingSession() {
        return (this.wait.isZero() || this.hold == 0);
    }
Returns true if this session is a polling session. Some clients may be restricted to open
only one connection to the server. In this case the client SHOULD inform the server by
setting the values of the 'wait' and/or 'hold' attributes in its session creation request
to "0", and then "poll" the server at regular intervals throughout the session for stanzas
it may have received from the server.

@return true if this session is a polling session.
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpSession.java