boolean (@NotNull TemplateImpl template) { if (myApplicableContextTypes == null) { myApplicableContextTypes = TemplateManagerImpl.getApplicableContextTypes(TemplateActionContext.create(myFile, myEditor, myOffset, myOffset, false)); } return !template.isDeactivated() && TemplateManagerImpl.isApplicable(template, myApplicableContextTypes); }