chromecast: add isStateError() method