def _match_dicts(expected, topic):
    for k, v in expected.items():
        if not k in topic or not _match_alike(topic[k], v):
            return False
    return True
Asserts the "like"-ness of all keys and values in `topic` and `expected`.
dataset/ETHPy150Open heynemann/preggy/preggy/assertions/like.py/_match_dicts