結果 : check if path is correct python