def _cmp_perm_lists(first, second):
    return {tuple(a) for a in first} == \
           {tuple(a) for a in second}
Supports the case that `name` is `None` (returns `None` then).
dataset/ETHPy150Open sympy/sympy/sympy/combinatorics/testutil.py/_cmp_perm_lists--crossover with--dataset/ETHPy150Open lsaffre/lino/lino/core/choicelists.py/ChoiceList.get_by_name