結果 : how to do type checking in python