'Test whether two recordsets are equivalent (up to reordering).'

def __eq__(self, other):

    if (not isinstance(other, BaseModel)):
        if other:
            (filename, lineno) = frame_codeinfo(currentframe(), 1)
            _logger.warning('Comparing    apples    and    oranges:    %r    ==    %r    (%s:%s)', self, other, filename, lineno)
        return False
    return ((self._name == other._name) and (set(self._ids) == set(other._ids)))
