code: def _rm(dir_name, **opts):
      if os.path.isdir(dir_name):
          shutil.rmtree(dir_name, **opts)
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/command/dist_info.py
imports: import os
  import shutil
  import sys
  from contextlib import contextmanager
  from distutils import log
  from distutils.core import Command
  from pathlib import Path
  from ..None import _normalization
label_desc: Use image node_id 1 for calling a global function with example usage: _rm(dir_name) without return types