boolean (@Nullable Project project) { if (project == null || !TrustedProjects.isTrusted(project)) return false; ProjectLevelVcsManagerImpl manager = ProjectLevelVcsManagerImpl.getInstanceImpl(project); return manager.haveVcses() && !manager.hasAnyMappings(); }