true
public static bool IndexExists(Directory directory) { return SegmentInfos.GetCurrentSegmentGeneration(directory) != - 1; }