$path->isEmpty() Checks if the number of elements is zero kirby/src/Toolkit/Collection.php#L638 $path->isEmpty(): bool Return type bool Parent class Kirby\Http\Path inherited from Kirby\Toolkit\Collection