boolean (@NotNull VirtualFile file) { if (!file.isValid()) return false; assert myProject != null; PsiFile psiFile = PsiManager.getInstance(myProject).findFile(file); PropertiesFile propertiesFile = PropertiesImplUtil.getPropertiesFile(psiFile); return propertiesFile != null && getResourceBundle().getPropertiesFiles().contains(propertiesFile); }