# File lib/openstack/swift/container.rb, line 161
    def object_exists?(objectname)
      path = "/#{@name.to_s}/#{objectname}"
      begin
        response = @swift.connection.req("HEAD", URI.encode(path))
        true
      rescue OpenStack::Exception::ItemNotFound
        false
      end
    end