How To Check If Value Is Int In Python