Getter method to know the operational mode?

Implemented in 5.6 / 3.12.