boolean (@NotNull final PsiElement element) { if (!(element instanceof PsiFile)) { return false; } final PropertiesFile file = PropertiesImplUtil.getPropertiesFile(element); if (file == null) { return false; } final ResourceBundle resourceBundle = file.getResourceBundle(); return resourceBundle.getBaseDirectory() != null && resourceBundle.getPropertiesFiles().size() != 1; }