結果 : check a type in python