def exactly_n(l, n=1):
    i = iter(l)
    return all(any(i) for j in range(n)) and not any(i)
{% associated_proposals as associated_proposals %}
dataset/ETHPy150Open saltstack/salt/salt/utils/boto.py/exactly_n--crossover with--dataset/ETHPy150Open pinax/symposion/symposion/proposals/templatetags/proposal_tags.py/associated_proposals