def ack_type(capabilities):
    if 'multi_ack_detailed' in capabilities:
        return MULTI_ACK_DETAILED
    elif 'multi_ack' in capabilities:
        return MULTI_ACK
    return SINGLE_ACK
Extract the ack type from a capabilities list.
dataset/ETHPy150Open natestedman/Observatory/observatory/lib/dulwich/protocol.py/ack_type