def equivalent(self, prev, exchange, type,
                   durable, auto_delete, arguments):
        return (type == prev['type'] and
                durable == prev['durable'] and
                auto_delete == prev['auto_delete'] and
                (arguments or {}) == (prev['arguments'] or {}))
:param required:
dataset/ETHPy150Open celery/kombu/kombu/transport/virtual/exchange.py/ExchangeType.equivalent--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/schema.py/ArrayItem.__init__