Isn't this is a complicated way of writing
```
'ttip' if badge.description.strip() else ''
```