code: def _resolve_folder(project, parent_folder, folder_name):
      
      if '/' in folder_name:
          # Then there's no way it's supposed to be a folder
          raise ResolutionError('Object of name ' + str(folder_name) + ' could not be resolved in folder ' +
                                str(parent_folder) + ' of project ID ' + str(project))
      possible_folder, _skip = clean_folder_path(parent_folder + '/' + folder_name, 'folder')
  
      if not check_folder_exists(project, parent_folder, folder_name):
          raise ResolutionError('Unable to resolve "' + folder_name +
                                '" to a data object or folder name in \'' + parent_folder + "'")
      return possible_folder
docs: :param project: The project that the folder belongs to
      :type project: string
      :param parent_folder: Full path to the parent folder that contains
                           folder_name
      :type parent_folder: string
      :param folder_name: Name of the folder
      :type folder_name: string
      :returns: The path to folder_name, if it exists, in the form of
                "<parent_folder>/<folder_name>"
      :rtype: string
      :raises: ResolutionError if folder_name is not a folder, or if
               folder_name points to a folder that does not exist
  
      Attempts to resolve folder_name at location parent_folder in project.