'Add XML content to the stanza.
:param value: Either an XML or a stanza object, or a list
of XML or stanza objects.'

def set_payload(self, value):

    if (not isinstance(value, list)):
        value = [value]
    for val in value:
        self.append(val)
    return self
