'Send an attention message with an optional body.
Arguments:
to    -- The attention request recipient\'s JID.
mfrom -- Optionally specify the sender of the attention request.
mbody -- An optional message body to include in the request.'

def request_attention(self, to, mfrom=None, mbody=''):

    m = self.xmpp.Message()
    m['to'] = to
    m['type'] = 'headline'
    m['attention'] = True
    if mfrom:
        m['from'] = mfrom
    m['body'] = mbody
    m.send()
