def METHOD_NAME(superset: dict, subset: dict) -> bool:
    """
    Compare superset and subset to check if the latter is a subset of former.
    Note: dict1 <= dict2 was not working on multilevel nested dicts.
    """
    for key, val in subset.items():
        print(key, val)
        if isinstance(val, dict):
            if key not in superset:
                return False
            result = METHOD_NAME(superset[key], subset[key])
            if not result:
                return False
        elif superset[key] != val:
            return False
    return True