human
check if a string is a number (float)
assistant
Here is some code to check if string `a` is an integer

a.isdigit()

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