def __eq__(self, other):
    if isinstance(other, ResultSet):
        return (other.results == self.results)
    return NotImplemented
def __eq__(self, other):
    if isinstance(other, ResultSet):
        return (other.results == self.results)
    return NotImplemented