# do nothing if the directory is not empty return if glob("$directory/*");