Python Determine If String Is A Number