Yes, we can use https://docs.python.org/2/library/stdtypes.html#str.isdigit

Makes more sense I change it. Thanks!