class McastConfig extends Config<ApplicationId> {

    @Override
    public boolean isValid() {
        return hasOnlyFields(INGRESS_VLAN, EGRESS_VLAN) &&
                ingressVlan() != null && egressVlan() != null;
    }

}