boolean (@NotNull CustomTemplateCallback callback, int offset, boolean wrapping) { PsiFile file = callback.getFile(); return file instanceof TextMateFile && ApplicationManager.getApplication().isInternal(); }