isClientCommand static method
Returns true if the command is a client command
Implementation
static bool isClientCommand(String command) {
return [
connect,
stomp,
send,
subscribe,
unsubscribe,
ack,
nack,
begin,
commit,
abort,
disconnect,
].contains(command);
}