<human>:  check if a string is a number
<bot>: Here is some code to check if string `b` is a number

b.isdigit()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.