結果 : how do you check if a stack is empty in python