def _dict_equal_or_subset(check_dict, obj_dict):
    if not isinstance(check_dict, dict):
        return False
    for key, value in check_dict.items():
        if (
            key not in obj_dict or
            not _obj_equal_or_subset(check_dict[key], obj_dict[key])
        ):
            return False
    return True
Used by output filter to check if obj_dict in check_dict.
dataset/ETHPy150Open openstack/compass-core/compass/db/api/utils.py/_dict_equal_or_subset