def METHOD_NAME(config_item1, config_item2) -> None:
    if isinstance(config_item1, dict):
        for key, value in config_item1.items():
            assert key in config_item2
            METHOD_NAME(value, config_item2[key])
    else:
        assert config_item1 == config_item2