def user_can_edit_snippet_type(user, model):
    for action in ('add', 'change', 'delete'):
        if user.has_perm(get_permission_name(action, model)):
            return True

    return False
Return sequence of (key, value) pairs suitable for urlencoding.
dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailsnippets/permissions.py/user_can_edit_snippet_type--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py/HTMLForm._pairs