Python Check If String Is An Integer