結果 : check if object is a type python