def decodable(seq, encoding):
    try:
        u = seq.decode(encoding)
    except __HOLE__:
        return False
    else:
        return True
dataset/ETHPy150Open thomasballinger/curtsies/curtsies/events.py/decodable