結果 : python pathlib check if path is valid