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