private static boolean contentResolvedSuccessfully(int fileId,
                                                     int contentId,
                                                     @NotNull VFSContentStorage contentStorage) {
    try {
      contentStorage.checkRecord(contentId, /* fast: */ false);
    }
    catch (Throwable t) {
      LOG.warn("file[#" + fileId + "]: contentId(=" + contentId + ") content fails to resolve. " + t.getMessage());
      return false;
    }

    return true;
  }
private static boolean contentResolvedSuccessfully(int fileId,
                                                     int contentId,
                                                     @NotNull VFSContentStorage contentStorage)