Tag: check if stack is empty python