@Override
  public boolean isInLibrary(@NotNull VirtualFile fileOrDir) {
    WorkspaceFileSet fileSet = myWorkspaceFileIndex.findFileSet(fileOrDir, true, false, true, true, false);
    return fileSet != null;
  }
@Override
  public boolean isInLibrary(@NotNull VirtualFile fileOrDir)