from typing import Dict
from typing import Any


def is_compatible(assignment1: Dict[str, Any], assignment2: Dict[str, Any]):
    """
    Check if two (potentially partial) assignments are compatible.
    Compatible means that there is no disagreement on variable assignment.

    :param assignment1: a dict var ->val
    :param assignment2: a dict var ->val
    :return: True is the assignment are compatible
    """
    inter = set(assignment1.keys()) & set(assignment2.keys())
    if len(inter) == 0:
        return True
    for k in inter:
        if assignment1[k] != assignment2[k]:
            return False
    return True