@Override
  public boolean isFileOpen(@NotNull VirtualFile file) {
    return myEditors.stream().anyMatch(editorInfo -> file.equals(editorInfo.getFile()));
  }
@Override
  public boolean isFileOpen(@NotNull VirtualFile file)