Why is `@attrs[:entities].any?` necessary? Couldn’t this line just be:

```ruby
!@attrs[:entities].nil?
```