Checks for ASCII white-space characters; space, line feed, carriage return, form feed, horizontal tab, vertical tab.
curses.ascii/isspace
isspace