'Send some specific presence state.
Can also request roster from server if according agrument is set.'

def sendPresence(self, jid=None, typ=None, requestRoster=0):

    if requestRoster:
        roster.Roster().PlugIn(self)
    self.send(dispatcher.Presence(to=jid, typ=typ))
