Should this be:
```
!empty($taxonomy_terms)
```