def isempty(dirname) return len(new(Nanoquery.IO.File).listDir(dirname)) = 0 end