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