結果 : python check if directory is empty pathlib