isConnected method

bool isConnected()

Implementation

bool isConnected() {
  return stompClient?.connected ?? false;
}