'Return the roster item for a subscribed JID.
A new item entry will be created if one does not already exist.'

def __getitem__(self, key):

    if (key is None):
        key = JID('')
    if (not isinstance(key, JID)):
        key = JID(key)
    key = key.bare
    if (key not in self._jids):
        self.add(key, save=True)
    return self._jids[key]
