def is_modifying_adjective_relation(token1, token2):
    """Return True if `token1` is an adjective modifying noun `token2`."""
    return (
        (token1.upos == "ADJ")
        and (token1.deprel == "amod")
        and (token2.upos == "NOUN")
        and (token1.head == token2.id)
    )