def destroy_node(self, node):
        params = {'Action': 'TerminateInstances'}
        params.update(self._pathlist('InstanceId', [node.id]))
        res = self.connection.request(self.path, params=params).object
        return self._get_terminate_boolean(res)
The default condition func for a list of data.
dataset/ETHPy150Open secondstory/dewpoint/libcloud/drivers/ec2.py/EC2NodeDriver.destroy_node--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/api/utils.py/_default_list_condition_func