isConnected can be abstract:

```java
abstract public boolean isConnected();
```
Then each enum value will implement it. It's cleaner and puts the isConnected value close to the enum itself. Also, if we ever add new values it forces us to implement isConnected.