'Allow equality between instances of ``AbstractVariableExpression``
subtypes.'

def __eq__(self, other):

    return (isinstance(other, AbstractVariableExpression) and (self.variable == other.variable))
