Check If Value Is Int Or String Python Example