check if directory is empty