def METHOD_NAME(self):
    """Get the team from the TeamLoader and store it."""
    # Get the team
    team = self.loader.get_team()
    if team is None:
        return False
    # Store
    logger.info("Creating team on the database.")
    with SessionGen() as session:
        try:
            team = self._team_to_db(session, team)
        except ImportDataError as e:
            logger.error(str(e))
            logger.info("Error while importing, no changes were made.")
            return False
        session.commit()
        team_id = team.id
    logger.info("Import finished (new team id: %s).", team_id)
    return True