The docs for the function could be improved. Say something like:
"Returns true if the given argument is an Integer value, or is a String that can be converted to an Integer value. The string may be
in octal, hexadecimal or decimal form.", and then continue with details about leading zeros, spaces, minus/plus prefix etc.