Check if the argument is a number