public static boolean isApplicable(@NotNull CustomLiveTemplate customLiveTemplate,
                                     @NotNull TemplateActionContext templateActionContext) {
    CustomTemplateCallback callback = new CustomTemplateCallback(Objects.requireNonNull(templateActionContext.getEditor()),
                                                                 templateActionContext.getFile());
    return customLiveTemplate.isApplicable(callback, callback.getOffset(), templateActionContext.isSurrounding());
  }
public static boolean isApplicable(@NotNull CustomLiveTemplate customLiveTemplate,
                                     @NotNull TemplateActionContext templateActionContext)