code: def equal (a, b):
      
      assert is_iterable(a)
      assert is_iterable(b)
      return contains (a, b) and contains (b, a)
docs: Returns True iff 'a' contains the same elements as 'b', irrespective of their order.
          # TODO: Python 2.4 has a proper set class.