def METHOD_NAME(self, instance: str = "") -> bool:
    """
    :param instance: instance alias name or uri, if ignore it, swcli will logout current selected instance.
        then, the instance will remove from list
    :return:
        res is:bye
            or:skip local instance logout
            or:
    """
    _ret_code, _res = invoke_with_react(
        [CLI, self.instance_cmd, "logout", instance]
    )
    return bool(_ret_code == 0)