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