Correctly check if running in server (aka server) mode