Normal way of using class `var connected = a.getCo...
# announcements
i
Normal way of using class
var connected = a.getConnectionType() != null
Now you define extension property that contains above logic so you can check connection state like this
var connected = a.isConnected
It would be nice to have quick fix, so each usage of
var connected = a.getConnectionType() != null
could be eaisly changed to more concice (defined by you)
a.isConnected