    # File lib/fog/hp/models/storage/directory.rb, line 90
            def cdn_enabled?
              if (!connection.cdn.nil? && connection.cdn.enabled?)
                begin response = connection.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