Determines if a stack consists of only push operations.
The stack to check.
True if all elements in the stack are push-only, false otherwise.
Determines if a stack consists of only push operations.