def _allowed_char(c):
c = ord(c)<EOL>if c < <NUM_LIT:0>:<EOL><INDENT>return False<EOL><DEDENT>if c < <NUM_LIT>:<EOL><INDENT>return _ascii_allowed[c]<EOL><DEDENT>return True<EOL>
Returns whether the given unicode char is allowed in output