def METHOD_NAME(self):
    if self.connected:
        self.prompt = "[" + colorize(self.serverName, "green") + ":" + self.root + " ]% "
    else:
        self.prompt = "[" + colorize("disconnected", "red") + ":" + self.root + " ]% "