Python Test If String Is Number