結果 : how to check instance type in python