isErrorMessage: change return type to a type guard.
isErrorMessage: change return type to a type guard.

Simplify the check by only checking the 'type' property to see if it
has the proper type and value.

coinbase/gdax-tt,coinbase/gdax-tt,coinbase/gdax-tt