Path { public static boolean isEditableTemplatePath(@NotNull String path) { return EDITABLE_TEMPLATE_PATTERN.matcher(path).matches(); } private  Path(); static String getAbsoluteParent(@NotNull String path, int parentLevel, @NotNull ResourceResolver resourceResolver); @SuppressWarnings("null") static Page getAbsoluteParent(@NotNull Page page, int parentLevel, @NotNull ResourceResolver resourceResolver); static int getAbsoluteLevel(@NotNull String path, @NotNull ResourceResolver resourceResolver); static String getOriginalPath(@NotNull String path, @NotNull ResourceResolver resourceResolver); static boolean isExperienceFragmentPath(@NotNull String path); static boolean isEditableTemplatePath(@NotNull String path);  }
@Test void testIsEditableTemplatePath() { assertTrue(Path.isEditableTemplatePath("/conf/app1/settings/wcm/templates/template1/structure")); assertTrue(Path.isEditableTemplatePath("/conf/app1/subapp2/settings/wcm/templates/template1/initial/jcr:content/somepath")); assertFalse(Path.isEditableTemplatePath("/conf/app1/settings/wcm/templates")); assertFalse(Path.isEditableTemplatePath("/content/other-path")); }