def _is_control(self, char):
<EOL>if char in ['<STR_LIT:\t>', '<STR_LIT:\n>', '<STR_LIT:\r>']:<EOL><INDENT>return False<EOL><DEDENT>cat = unicodedata.category(char)<EOL>if cat.startswith('<STR_LIT:C>'):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Checks whether `chars` is a control character.