Checks for an ASCII control character (in the range 0x00 to 0x1f or 0x7f).
curses.ascii/iscntrl
iscntrl