def internalizeall(self, ids, filterunknown=False):
    'return a list of (or set if given a set) of node ids'
    ixs = self._internalizeall(ids, filterunknown)
    if isinstance(ids, set):
        return set(ixs)
    return list(ixs)
return a list of (or set if given a set) of node ids
def internalizeall(self, ids, filterunknown=False):
    
    ixs = self._internalizeall(ids, filterunknown)
    if isinstance(ids, set):
        return set(ixs)
    return list(ixs)