is_dir_empty() method should return true if the directory is empty