結果 : python check type of object in if statement