$hasfiles->hasDocuments() Checks if the Files collection has any document files kirby/src/Cms/HasFiles.php#L146 $hasfiles->hasDocuments(): bool Return type bool Parent class Kirby\Cms\HasFiles