def print_maybe_bin(s):
    binary = False
    for c in s:
        if c > string.printable:
            binary = True
            break
    if binary:
        print hexdump(s)
    else:
        print s
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/plugins/decode.py/print_maybe_bin/operator `not in` -> `>`