docs: def check_folder_exists(project, path, folder_name):
      '''
      :param project: project id
      :type project: string
      :param path: path to where we should look for the folder in question
      :type path: string
      :param folder_name: name of the folder in question
      :type folder_name: string
      :returns: A boolean True or False whether the folder exists at the specified path
      :type: boolean
      :raises: :exc:'ResolutionError' if dxpy.api.container_list_folder raises an exception
  
      This function returns a boolean value that indicates whether a folder of the
      specified name exists at the specified path
  
      Note: this function will NOT work on the root folder case, i.e. '/'
      '''
      if folder_name is None or path is None:
          return False
      try:
          folder_list = dxpy.api.container_list_folder(project, {"folder": path, "only": "folders"})
      except dxpy.exceptions.DXAPIError as e:
          if e.name == 'ResourceNotFound':
              raise ResolutionError(str(e.msg))
          else:
              raise e
      target_folder = path + '/' + folder_name
      # sanitize input if necessary
      target_folder, _skip = clean_folder_path(target_folder, 'folder')
  
      # Check that folder name exists in return from list folder API call
      return target_folder in folder_list['folders']