isError

Returns if the expected contains an error.

Return

True, if this contains an error

open fun isError(): Boolean