def _FillInPresenceResponse(self, jid, response):
    response.set_is_available(jid[0] < 'm')
    response.set_valid(self._ValidateJid(jid))
    response.set_presence(1)
Arbitrarily fill in a presence response or subresponse.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/xmpp/xmpp_service_stub.py/XmppServiceStub._FillInPresenceResponse