Python Check If String Has Only Numbers