pub fn is_hook_installed( hooks_dir: &Path, hook_name: &str, ) -> Result<bool, Error>
Check if a hook is already installed