結果 : python pathlib check if is directory