public boolean isFileUpToDate(VirtualFile file) {
    return file instanceof VirtualFileWithId && !getFilesToUpdateCollector().isScheduledForUpdate(file);
  }
public boolean isFileUpToDate(VirtualFile file)