結果 : python check if variable is path object