code: def validate(message, gpg_home=None, **config):
      
      if gpg_home is None:
          raise ValueError("You must set the gpg_home keyword argument.")
      try:
          _ctx.verify(
              fedmsg.encoding.dumps(message['msg']),
              b64decode(message['signature']),
              homedir=gpg_home
          )
          return True
      except GpgBinaryError:
          log.warn("Failed validation. {0}".format(six.text_type(message)))
          return False
docs: Return true or false if the message is signed appropriately.
  
      Two things must be true:
  
          1) The signature must be valid (obviously)
          2) The signing key must be in the local keyring
             as defined by the `gpg_home` config value.