public boolean isValid() {
    PsiFile psiFile;
    try (AccessToken ignore = SlowOperations.knownIssue("IDEA-301732, EA-829415")) {
      psiFile = getPsiFile();
      if (psiFile == null) return false;
    }
    HighlightingSettingsPerFile settings = HighlightingSettingsPerFile.getInstance(psiFile.getProject());
    return settings.getModificationCount() == myHighlightingSettingsModificationCount;
  }
public boolean isValid()