public boolean isExitOnEscPressed() {
        return exitOnEscPressed;
    }
Checks whether the exit on esc press is activated.

@return true if the exit on escape is activated, false otherwise.
jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java