Yes. Before any transaction (withdrawal or balance check) is finalised the ATM will display the operator’s transaction fee and offer you the option to accept the fee and continue, or decline the fee and cancel the transaction. You can decline and end the transaction at this point to avoid the fee.
We recommend you always check for fees before completing an ATM transaction.