boolean (@Nullable AbstractVcs vcs, @NotNull VirtualFile vcsRoot) { try { if (vcs == null) return false; VcsRootChecker rootChecker = myVcsManager.getRootChecker(vcs); return rootChecker.validateRoot(vcsRoot); } catch (ProcessCanceledException e) { throw e; } catch (Throwable e) { LOG.error(e); return false; } }