Checks for an ASCII hexadecimal digit. This is equivalent to c in string.hexdigits.
curses.ascii/isxdigit
isxdigit