Python Test If Number Is Integer