### Question:
TemplateVariables { static boolean isParagraphProperty(String propertyName) { return propertyName.startsWith("paragraph.") || propertyName.startsWith("comment."); } TemplateVariables();   }### Answer:
@Test public void testIsParagraphProperty() { assertFalse(TemplateVariables.isParagraphProperty("image.some")); assertFalse(TemplateVariables.isParagraphProperty("word.written")); assertTrue(TemplateVariables.isParagraphProperty("paragraph.really")); assertTrue(TemplateVariables.isParagraphProperty("comment.really")); }