code: def sign(self, message: Message):
          
          if not isinstance(message, SignedMessage):
              raise ValueError('{} is not signable.'.format(repr(message)))
  
          message.sign(self.signer)
docs: Sign message inplace.