Remove hex from function name.

Change `check_hex_in_in_range` to `enforce_upper_limit` since by this stage the original hex input has already been converted to integer, and to clarify that this is a specific upper limit, not just checking a number is in the range permitted by the system.