Check If String Contains Only Digits Python