code: def parse_list_objects(data, bucket_name):
      
      root = S3Element.fromstring('ListObjectResult', data)
  
      is_truncated = root.get_child_text('IsTruncated').lower() == 'true'
      # NextMarker element need not be present.
      marker = root.get_urldecoded_elem_text('NextMarker', strict=False)
      objects, object_dirs = _parse_objects_from_xml_elts(
          bucket_name,
          root.findall('Contents'),
          root.findall('CommonPrefixes')
      )
  
      if is_truncated and marker is None:
          marker = objects[-1].object_name
  
      return objects + object_dirs, is_truncated, marker
docs: Parser for list objects response.
  
      :param data: Response data for list objects.
      :param bucket_name: Response for the bucket.
      :return: Replies back three distinctive components.
         - List of :class:`Object <Object>`
         - True if list is truncated, False otherwise.
         - Object name marker for the next request.