Python Determine If String Is Int