from typing import Mapping


def is_updated(dictionary: Mapping, update_dict: Mapping) -> bool:
    """Checks if the dictionary has been updated with the values from update_dict."""
    for k, v in update_dict.items():
        if isinstance(v, dict):
            if not is_updated(dictionary.get(k, {}), v):
                return False
        elif dictionary[k] != update_dict[k]:
            return False

    return True