code: def do_print (self, url_data):
          
          if self.verbose:
              return True
          if self.warnings and url_data.warnings:
              return True
          return not url_data.valid
docs: Determine if URL entry should be logged or not.