public boolean isRunning() {
        return !executor.isShutdown();
    }
Returns true if the channel is currently running. The channel can be started and
stopped by calling the start() and stop() methods.

@return true if the channel is running.
xmppserver/src/main/java/org/jivesoftware/openfire/Channel.java