code: def has_watcher_config(base_dir: Union[str, Path]) -> bool:
      config_path = get_config_path(base_dir)
      return config_path.is_file()
  
file_path: aim/aim/ext/notifier/utils.py
imports: import os
  import shutil
  from functools import lru_cache
  from pathlib import Path
  from typing import Union
label_desc: Use image node_id 5 for calling a global function with example usage: has_watcher_config(base_dir) and returns: config_path