def _is_ctl(c):
    """Returns true iff c is in CTL as specified in HTTP RFC."""

    return ord(c) <= 31 or ord(c) == 127
dataset/ETHPy150Open google/pywebsocket/mod_pywebsocket/http_header_util.py/_is_ctl/original