結果 : check if type is object python