def hasNext(self):
        return bool(self.q)

# Your ZigzagIterator object will be instantiated and called as such:
# i, v = ZigzagIterator(v1, v2), []
# while i.hasNext(): v.append(i.next())
:rtype: bool
dataset/ETHPy150Open kamyu104/LeetCode/Python/zigzag-iterator.py/ZigzagIterator.hasNext