def METHOD_NAME(
    self,
    gc_command: proto.ssl_gc_state_pb2.Command,
    is_friendly: bool,
    final_ball_placement_point=None,
):
    """sends a gamecontroller command that is to be broadcasted to the given team
    param gc_command: the gamecontroller command
    param is_blue: whether the command should be sent to the blue team
    final_ball_placement_point: where to place the ball in ball placement
    """
    team = Team.BLUE
    # If (friendly & yellow_friendly) or (~friendly & ~yellow_friendly), set command team to yellow
    if (is_friendly and self.is_yellow_friendly) or not (
        is_friendly or self.is_yellow_friendly
    ):
        team = Team.YELLOW
    self.gamecontroller.send_ci_input(
        gc_command=gc_command,
        team=team,
        final_ball_placement_point=final_ball_placement_point,
    )