

def _get_terminate_boolean(self, element):
    status = element.findtext(('.//{%s}%s' % (NAMESPACE, 'name')))
    return any([(term_status == element) for term_status in ('shutting-down', 'terminated')])

dataset/ETHPy150Open infincia/AEServmon/libcloud/drivers/ec2.py EC2NodeDriver._get_terminate_boolean/VarMisuse@36/52 `status`->`element`