boolean (@NotNull Project project, Editor editor, PsiFile file) { return MavenUtil.isPomFile(project, file.getVirtualFile()) && ContainerUtil.exists(MavenIndicesManager.getInstance(project).getIndex() .getGAVIndices(), i -> i.getRepository() != null && !"central".equals(i.getRepository().getName())); }