    # File lib/fog/hp/models/storage/directory.rb, line 90
            def cdn_enabled?
              if (!service.cdn.nil? && service.cdn.enabled?)
                begin response = service.cdn.head_container(key)
                  cdn_header = response.headers.fetch('X-Cdn-Enabled', nil)
                  if (!cdn_header.nil? && cdn_header == 'True')
                    @cdn_enable = true
                  else
                    @cdn_enable = false
                  end
                rescue Fog::CDN::HP::NotFound => err
                  @cdn_enable = false
                end
              else
                @cdn_enable = false
              end
            end