public boolean isConnected() {
		return this.connection != null && this.connection.isConnected();
	}
Returns, if a connection is established at the moment

@return true if a connection is established, false if the transport is
        not connected or currently connecting
src/io/socket/SocketIO.java