def __eq__(self, other):
    return (isinstance(other, ArrayRange) and (other.start == self.start) and (other.stop == self.stop) and (other.step == self.step))
def __eq__(self, other):
    return (isinstance(other, ArrayRange) and (other.start == self.start) and (other.stop == self.stop) and (other.step == self.step))