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