def preferred_teams(home_team, away_team):
    """Logic for preferred / other team objects via if statement

    Args:
        home_team (Team): The home team object.
        away_team (Team): The away team object.

    Returns:
        (preferred_team, other_team) - Tuple of Team objects
    """

    if home_team.preferred:
        # Home Team is preferred
        return (home_team, away_team)

    # Away Team is preferred
    return (away_team, home_team)