Dir::isEmpty() Checks if the folder has any contents kirby/src/Filesystem/Dir.php#L175 Dir::isEmpty(string $dir): bool Parameters Name Type Default $dir * string – Return type bool Parent class Kirby\Filesystem\Dir