How To Test If A Variable Is An Integer In Python