protected boolean hasField(String name) {
        return hasField(object, name);
    }
@Test
    public void hasField() {
        assertTrue("missing field", cfg.hasField(MAC));
        assertFalse("unexpected field", cfg.hasField("non-existent"));
    }