Checks if a given string consists solely of numeric digits, without any spaces, symbols, or decimal points.