code: def _remove_dir_if_exists(path):
      """Recursively removes directory. Be careful."""
      if os.path.isdir(path):
          shutil.rmtree(path)
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_wandb_integration.py
imports: import importlib
  import os
  import shutil
  import time
  from unittest import mock
  import pytest
  import wandb
  import wandb.env
label_desc: Use image node_id 3 for calling a global function with example usage: _remove_dir_if_exists(path) without return types