def __eq__(self, other):
if len(self) != len(other):<EOL><INDENT>return False<EOL><DEDENT>if not hasattr(other, '<STR_LIT>'):<EOL><INDENT>return False<EOL><DEDENT>if isinstance(other, SpiceCell):<EOL><INDENT>if other.dtype != self.dtype:<EOL><INDENT>return False<EOL><DEDENT>if other.isSet != self.isSet:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>for x, y in zip(self, other):<EOL><INDENT>if x != y:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
element wise equality, other can be a list or cell
I think sets should not equal a non set even if
elements are equal... might be a bad idea
:param other:
:return: