### Question:
TemplateVariables { static boolean isFiguresProperty(String propertyName) { return propertyName.startsWith("figures.") && !propertyName.contains(".scale"); } TemplateVariables();   }### Answer:
@Test public void testIsFiguresProperty() { assertFalse(TemplateVariables.isFiguresProperty("picture")); assertFalse(TemplateVariables.isFiguresProperty("figures.bla.scale")); assertTrue(TemplateVariables.isFiguresProperty("figures.really_a_lot")); }