code: def delete(self, container, del_objects=False):
          
          if del_objects:
              nms = self.list_object_names(container, full_listing=True)
              self.api.bulk_delete(container, nms, async_=False)
          uri = "/%s" % utils.get_name(container)
          resp, resp_body = self.api.method_delete(uri)
docs: Deletes the specified container. If the container contains objects, the
          command will fail unless 'del_objects' is passed as True. In that case,
          each object will be deleted first, and then the container.