def match_includes_reaction_center(train_mode, match, atoms_core):
    """
    Determindes whether a substructure match includes the full reaction center.

    Parameters
    ----------
    train_mode: Literal["single_reactant", "transition_state"]
        Mode in which diagram was constructed.
    match: tuple
        Indices of substructure match.
    atoms_core: List[int]
        Atom indices belonging to the reaction center.

    Returns
    -------
    includes_rc: bool
        Boolean whether match includes the reaction center.
    """

    includes_rc = True
    if train_mode == "transition_state":
        if False in [core_atom in match for core_atom in atoms_core]:
            includes_rc = False
    return includes_rc