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