Exceptionless and fast way to check if a string is an integer