method
ServerWebSocket.isSubscribed
@param topic
The topic name.
ws.subscribe("chat");
console.log(ws.isSubscribed("chat")); // truemethod
The topic name.
ws.subscribe("chat");
console.log(ws.isSubscribed("chat")); // true