Use the `isErrorOrFailed()` from `stream-chat-android-client` module instead.
import io.getstream.chat.android.client.utils.message.isErrorOrFailed
Message.isErrorOrFailed()