def METHOD_NAME(self, index=None):
    if index is not None and index not in self._indexes:
        raise ValueError('Index {} does not exist'.format(index))
    if not index:
        return DictCursor(self._data.copy())
    return DictIndexCursor(self._indexes[index][0].copy(),
                           self._data.copy())