canPush method

bool canPush()

Implementation

bool canPush() {
  return socket.isConnected() && isJoined();
}