not sure if it's possible to get into this state, but i would have thought the condition would have been:
```
!mugType.getItext() || (mugType.getItext() && mugType.getItext().isEmpty())
```