isSuccess

open fun isSuccess(): Boolean

Returns true if the response payload contains a return code of 0 or no return code. In other words, return true if the command was a success, false otherwise.

Return

return true if the command was a success, false otherwise