'Ignores `priority` field.'

def __eq__(self, other):

    if isinstance(other, CorrectedCommand):
        return ((other.script, other.side_effect) == (self.script, self.side_effect))
    else:
        return False
