def lookup_hosts(self, pattern):
        if not pattern:
            pattern = '*'
        lookup_pattern = self._prefixed_route_key(pattern)
        keys = self.client.keys(lookup_pattern)
        return [key[len(lookup_pattern) - len(pattern):] for key in keys]
check that the number of allocated blocks is correct
dataset/ETHPy150Open sourcelair/ceryx/api/ceryx/db.py/RedisRouter.lookup_hosts--crossover with--dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/tests/dcerpc/rpc_talloc.py/TallocTests.check_blocks