code: def _check_ft_cols(df, cols):
      for col in ["role", "content"]:
          if col not in set(df.columns):
              raise Exception(
                  f"To fine-tune this model, format your select data query to have a `role` column and a `content` column."
              )
  
imports: import os
  import openai
  import json
  import contextlib
  from typing import Optional, Dict
  import pandas
  from mindsdb.integrations.handlers.openai_handler.openai_handler import OpenAIHandler
  from mindsdb.integrations.handlers.openai_handler.constants import OPENAI_API_BASE
  from mindsdb.integrations.utilities.handler_utils import get_api_key
  from mindsdb.utilities import log
label_desc: Use image node_id 8 for calling the AnyscaleEndpointsHandler obj's underlying member method code with example usage: obj._check_ft_cols(df, cols) without return types