A bit of syntactic sugar:
```rb
if @blocks.any?
```