boolean (String templateName, Project project) { FileTemplate template = FileTemplateManager.getInstance(project).getCodeTemplate(templateName); return template.getText().contains("${" + RESOURCE_BUNDLE_OPTION_KEY + "}"); }