Check whether the argument is a server message of specified type / command.
The argument to check
The command / type of the message to check against.
Check whether the argument is a server message of specified type / command.