src/Route.php
public function isAllowed(Who $who): bool
    {
        return \count(array_intersect($who->getRoles(), $this->getWho()->toArray())) > 0;
    }
public function isAllowed(Who $who): bool
    {
        return \count(array_intersect($who->getRoles(), $this->getWho()->toArray())) > 0;
    }
@param Who $who

@return bool