@Override
    public boolean isValid() {
        return isBoolean(ENABLED, FieldPresence.MANDATORY);
    }
@Test(expected = InvalidFieldException.class)
    public void isValid() {
        assertTrue(config.isValid());
        assertFalse(invalidConfig.isValid());
    }