

def IsAllowedSigner(self, data, userid_uri):
    'Checks that userid_uri is identified as an allowed signer.\n\n    Note that this does not do a signature check.\n\n    Args:\n      data: The message, either pre-parsed or a string.\n      userid_uri: The URI of the author to be checked.\n    Returns:\n      True iff userid_uri is identified as the first author.\n    '
    return (self.GetSignerURI(data) == userid_uri)

dataset/ETHPy150Open mimecuvalo/helloworld/packages/magicsig/__init__.py MagicEnvelopeProtocol.IsAllowedSigner/original