def emptyIndex(index):
    """
    Determine whether an index is empty.

    @param index: An index.
    @type index: L{dict}

    @return: true if C{index} is empty, otherwise false.
    """
    if not index:
        return True

    for _ignore_fieldName, fieldIndex in index.iteritems():
        for _ignore_fieldValue, records in fieldIndex.iteritems():
            for _ignore_record in records:
                return False

    return True