def toElement(self):
    element = generic.Request.toElement(self)
    element.addElement((NS_MUC_ADMIN, 'query'))
    if self.items:
        for item in self.items:
            element.query.addChild(item.toElement())
    return element
def toElement(self):
    element = generic.Request.toElement(self)
    element.addElement((NS_MUC_ADMIN, 'query'))
    if self.items:
        for item in self.items:
            element.query.addChild(item.toElement())
    return element