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