def METHOD_NAME(rhn, list, noconfirm=False):
    for server in list:
        print "Removing %s..." % server["name"]
        if noconfirm or userconfirm():
            ret = rhn.server.system.deleteSystems(rhn.session,
                                                  int(server["id"]))
            if ret != 1:
                print "Removing %s failed with error code: %s" % \
                        (server["name"], ret)
        else:
            print "Skipping %s" % server["name"]