Python - Eraser Mode/Blend Access?

Is it possible to acess through Python if the Eraser Mode is being used? Or to set it on and off?
I only find a toggle action for it…

likewise is it possible to change a brush blending mode to set it as a eraser and back?

This is the only thing I managed to get… but it seems to work

# Check Eraser Mode ON or OFF
kritaEraserAction = Application.action("erase_action")
if kritaEraserAction.isChecked():