結果 : write the function in python to check if a stack is empty