'Create or modify an :class:`~sleekxmpp.stanza.iq.Iq` stanza
to use the given query namespace.
:param iq: Optionally use an existing stanza instead
of generating a new one.
:param xmlns: The query\'s namespace.
:param ito: The destination :class:`~sleekxmpp.xmlstream.jid.JID`
for this stanza.
:param ifrom: The ``\'from\'`` :class:`~sleekxmpp.xmlstream.jid.JID`
to use for this stanza.'

def make_iq_query(self, iq=None, xmlns=u'', ito=None, ifrom=None):

    if (not iq):
        iq = self.Iq()
    iq[u'query'] = xmlns
    if ito:
        iq[u'to'] = ito
    if ifrom:
        iq[u'from'] = ifrom
    return iq
