remove Stack's isEmpty function.