But, if you want to go with one of the above, I'd go with this one:

```php
// Hard to implement?
$authorization->isGranted('permission', $scopeOrAssertion);
```

I'd test if `$scopeOrAssertion` `is_callable` or implements `AssertionInterface` and won't ask the map for it.