def has_region(service_url, region_name):
    client = Client(service_url + "?wsdl")
    return [x.regionName for x in client.service.showRegion()] in region_name
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/virt/dodai/ofc_utils.py/has_region/swapped operands of `in`