Python Check If Value Is An Integer