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
"When calls to describe_ring finish, the lock is set back to false so future calls can get new results from
dataset/ETHPy150Open natestedman/Observatory/observatory/lib/dulwich/protocol.py/ack_type--crossover with--dataset/ETHPy150Open driftx/Telephus/telephus/pool.py/CassandraClusterPool.release_lock