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