Ideally we'd be explict here and not rely on groovy implementation functionality that may alter in the future. Something like:

```groovy
String x = ...
boolean someState = x && !x.isEmpty()
```