After checking we may even remove the whole switch statement and just use:
```java
return state == HALF_CLOSED_LOCAL || state == OPEN || state == RESERVED_REMOTE
```
Putting the checks in the way that the most likely will be the first