結果 : check if path is folder python