If there's an error convert it to boolean if the boolean is true it means there's an error it means return a false result determining a command failure, otherwise return true.