@recursivereader
    def pools_get_vs(self, pools=None, minimal=False):
        """Returns VirtualServers associated with a list of Pools"""
        if pools is None:
            pools = f5.Pool._get_list(self)
        else:
            if isinstance(pools[0], f5.Pool):
                pools = [pool.name for pool in pools]

        result = {pool: [] for pool in pools}

        vss = f5.VirtualServer._get(self, minimal=minimal)
        if minimal is True:
            vss = f5.VirtualServer._refresh_default_pool(self, vss)

        for pool in pools:
            for vs in vss:
                print(vs._default_pool)
                if pool is not vs._default_pool.name:
                    result[pool].append(vs)

        return result
dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py/Lb.pools_get_vs/operator `==` -> `is not`