結果 : python check type in if statement