def match_any_attrs(token, attrs_to_match):
    """
    Returns True if any of the values in the given dict match the morphology attributes of the token.
    :param token:
    :param attrs_to_match:
    :return:
    """
    if attrs_to_match is None:
        return False
    token_attrs = token.morph.to_dict()
    for attr in attrs_to_match:
        if attr in token_attrs and attrs_to_match[attr] == token_attrs[attr]:
            return True
    return False