def METHOD_NAME(self, prev, exchange, type,
               durable, auto_delete, arguments):
    """Return true if `prev` and `exchange` is equivalent."""
    return (type == prev['type'] and
            durable == prev['durable'] and
            auto_delete == prev['auto_delete'] and
            (arguments or {}) == (prev['arguments'] or {}))