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