def get_root_thematic_for_phase(phase):
    """Return root thematic for the given phase `phase`.
    """
    if phase.is_thematics_table:
        return phase.root_idea
    return phase.discussion.root_idea
