def METHOD_NAME(user_id: str) -> List[str]:
    """Returns a list with the ids of all the topics that are in the
    goals of the user.
    Args:
        user_id: str. The id of the user.
    Returns:
        list(str). A list of the ids of the topics that are in the
        learner goals of the user.
    """
    learner_goals_model = user_models.LearnerGoalsModel.get(
        user_id, strict=False)
    if learner_goals_model:
        learner_goals = get_learner_goals_from_model(
            learner_goals_model)
        return learner_goals.topic_ids_to_learn
    return []