code: def verify(self):
          
          for param in self.longs:
              item = getattr(self, param)
              if not item or isinstance(item, str):
                  continue
  
              if isinstance(item, bytes):
                  item = item.decode('utf-8')
                  setattr(self, param, item)
  
              try:
                  _ = base64url_to_long(item)
              except Exception:
                  return False
              else:
                  if [e for e in ['+', '/', '='] if e in item]:
                      return False
  
          if self.kid:
              if not isinstance(self.kid, str):
                  raise ValueError("kid of wrong value type")
          return True
docs: Verify that the information gathered from the on-the-wire
          representation is of the right type.
          This is supposed to be run before the info is deserialized.
  
          :return: True/False