getMode

Get current mode: ONLINE or OFFLINE. Initialized to ONLINE mode.