code: def get_or_create_study(
      self,
      study_name,
      study_configuration,
      algorithm="BayesianOptimization",
  ):
      url = "{}/suggestion/v1/studies/{}/exist".format(
          self.endpoint, study_name
      )
      response = requests.get(url)
      study_exist = response.json()["exist"]
  
      if study_exist == True:
          study = self.get_study_by_name(study_name)
      else:
          study = self.create_study(
              study_name, study_configuration, algorithm
          )
  
      return study
  
imports: import os
  import json
  import requests
  from .model import Study
  from .model import Trial
  from .model import TrialMetric
label_desc: Use image node_id 3 for calling the AdvisorClient obj's underlying member method code with example usage: obj.get_or_create_study(study_name, study_configuration, algorithm) and returns: study