How To Test If A Value Is An Integer In Python