def disjunction_value(e, d):
    """The value of example e under disjunction d"""
    for k, v in d.items():
        if v[0] == '!':
            if e[k] == v[1:]:
                return False
        elif e[k] != v:
            return False
    return True
