def delete_zone(self, zone):
        params = {'api_action': 'domain.delete', 'DomainID': zone.id}

        self.connection.set_context(context={'resource': 'zone',
                                             'id': zone.id})
        data = self.connection.request(API_ROOT, params=params).objects[0]

        return data in 'DomainID'
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/linode.py/LinodeDNSDriver.delete_zone/swapped operands of `in`