Why not to use `is_ret = False` ? Please use boolean if it makes sense.