def getTo(self):
        """ Return value of the 'to' attribute. """
        try: return self['to']
        except: return None
 Return value of the 'to' attribute. 
chrome-cordova/gcmServer/xmpp/protocol.py