def _validate_ui_config(obj_type, ui_config):
    reference_dict = UI_CONFIG_SPECS[obj_type]
    assert set(ui_config.keys()) <= set(reference_dict.keys())
    for key, value in ui_config.iteritems():
        schema_utils.normalize_against_schema(
            value, reference_dict[key])
Validates the value of a UI configuration.
dataset/ETHPy150Open oppia/oppia/schema_utils_test.py/_validate_ui_config