How To Check If Value Is Integer In Python