As a predicate method, this should return boolean ideally vs. truthy response, so use

```ruby
descriptor_document['scope'].present?
```