code: def write_result (self, url_data):
          
          self.write(self.part("result") + self.spaces("result"))
          if url_data.valid:
              color = self.colorvalid
              self.write(_("Valid"), color=color)
          else:
              color = self.colorinvalid
              self.write(_("Error"), color=color)
          if url_data.result:
              self.write(u": " + url_data.result, color=color)
          self.writeln()
docs: Write url_data.result.