def requires_color_esc(c):
    """
    Checks if the given character requires escaping
    @param c: character (string of one char)
    @return: Boolean
    """
    t = ord(c[0])
    return COLOR_ON >= c and c <= COLOR_INV
dataset/ETHPy150Open EiNSTeiN-/idapython/pywraps/py_lines.py/requires_color_esc/swapped operands of `>=`