isSubscribed method
Checks if the MpnSubscription is currently subscribed to through the server or not.
This flag is switched to true by server sent subscription events, and back to false in case of client disconnection, LightstreamerClient.unsubscribe or LightstreamerClient.unsubscribeMpnSubscriptions calls, and server sent unsubscription events.
Lifecycle This method can be called at any time.
Returns true if the MpnSubscription has been successfully subscribed on the server, false otherwise.
Implementation
bool isSubscribed() {
return _status == 'SUBSCRIBED' || _status == 'TRIGGERED';
}