code: def get_cdn_log_retention(self, container):
          
          resp, resp_body = self.api.cdn_request("/%s" %
                  utils.get_name(container), method="HEAD")
          return resp.headers.get("x-log-retention").lower() == "true"
docs: Returns the status of the setting for CDN log retention for the
          specified container.