@Override
      public boolean contains(@NotNull VirtualFile file, @NotNull Project project) {
        if (ScratchUtil.isScratch(file)) return true;
        ProjectFileIndex fileIndex = getFileIndex(project);
        return fileIndex != null && fileIndex.isInContent(file);
      }
@Override
      public boolean contains(@NotNull VirtualFile file, @NotNull Project project)