def __eq__(self, other):
if isinstance(other, Expression):<EOL><INDENT>return other == self<EOL><DEDENT>return isinstance(other, Variable) and self._symbol == other._symbol<EOL>
Check equality of variables