@poll_utils.poll_status(
    'detach_volume_timeout', _("Await for volume become detached"), sleep=2)
def _await_detach(volume_id):
    volume = cinder.get_volume(volume_id)
    if ['available', 'error'] not in volume.status:
        return False
    return True
dataset/ETHPy150Open openstack/sahara/sahara/service/volumes.py/_await_detach/swapped operands of `not in`