Index: pyatspi/utils.py
===================================================================
--- pyatspi/utils.py	(revision 924)
+++ pyatspi/utils.py	(working copy)
@@ -362,7 +362,7 @@
     @return: Are the sets equivalent in terms of their contents?
     @rtype: boolean
     '''
-    return self.state_set == self.states
+    return state_set.states == self.states
   
   def compare(self, state_set):
     '''
