code: def sign_assertion(self, statement, **kwargs):
          
          return self.sign_statement(
                  statement, class_name(saml.Assertion()), **kwargs)
docs: Sign a SAML assertion.
  
          See sign_statement() for the kwargs.
  
          :param statement: The statement to be signed
          :return: The signed statement