def has_run_id(self, run_id: str) -> bool:
    run_id = check.str_param(run_id, 'run_id')
    with self._dict_lock:
        _has_run_id = (run_id in self._run_id_to_watcher_dict)
    return _has_run_id
def has_run_id(self, run_id: str) -> bool:
    run_id = check.str_param(run_id, 'run_id')
    with self._dict_lock:
        _has_run_id = (run_id in self._run_id_to_watcher_dict)
    return _has_run_id