public boolean hasLoadedFile(int id) {
    Segment segment = getSegment(id, false);
    return segment != null && segment.objectFieldsArray.get(objectOffsetInSegment(id)) != null;
  }
public boolean hasLoadedFile(int id)