def is_transactional_goal(domain_goal: dict):
    """Checks if a domain goal is transactional. For MultiWOZ this is equivalent to the presence of a ``'book'``
    field in the domain goal.

    Parameters
    ----------
    domain_goal
        Domain goal containing constraints and information requests. See `compute_igcd_f1` for full goal structure.

    """
    return "book" in domain_goal and domain_goal["book"]