'Return true if `prev` and `exchange` is equivalent.'

def equivalent(self, prev, exchange, type, durable, auto_delete, arguments):

    return ((type == prev[u'type']) and (durable == prev[u'durable']) and (auto_delete == prev[u'auto_delete']) and ((arguments or {}) == (prev[u'arguments'] or {})))
