def can_path_to_zone(z1, z2):
	if z1 == z2:
		return True
	
	_checked = []
	_to_check = [z1]
	
	while _to_check:
		_checking = _to_check.pop()
		_checked.append(_checking)
		
		_to_check.extend([n for n in WORLD_INFO['slices'][_checking]['neighbors'] if not n in _checked])
		
		if _to_check in z2:
			_checked.append(z2)
			print _checked
			return True
	
	return False
dataset/ETHPy150Open flags/Reactor-3/tests/M06_zonepath.py/can_path_to_zone/swapped operands of `in`