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