結果 : check if dir is empty python pathlib