def METHOD_NAME(self, base_path, get_loader):
    """Get the participation list from the ContestLoader and then
    try to import the needed teams.
    """
    added = set()
    _, _, participations = self.loader.get_contest()
    for p in participations:
        if "team" in p:
            team_path = os.path.join(base_path, p["team"])
            if team_path not in added:
                added.add(team_path)
                importer = TeamImporter(
                    path=team_path,
                    loader_class=get_loader(team_path)
                )
                importer.do_import()
    return True