$roles->isNotEmpty() Checks if the number of elements is more than zero kirby/src/Toolkit/Collection.php#L647 $roles->isNotEmpty(): bool Return type bool Parent class Kirby\Cms\Roles inherited from Kirby\Toolkit\Collection