結果 : how to test object type python