code: def verify_profile(msg_cls, info, **kwargs):
          
          _msg = msg_cls(**info)
          if not _msg.verify(**kwargs):
              raise VerificationError()
          return _msg
docs: If a message type is known for this JSON document. Verify that the
          document complies with the message specifications.
  
          :param msg_cls: The message class. A
              :py:class:`oidcmsg.message.Message` instance
          :param info: The information in the JSON document as a dictionary
          :param kwargs: Extra keyword arguments used when doing the verification.
          :return: The verified message as a msg_cls instance.