def METHOD_NAME(path, *args, **kwargs):
    """
    Wrapper around shutil.rmtree to check for symlinks.
    shutil.rmtree doens't follow symlinks by default,
    this function just logs in case users are trying to use symlinks.
    https://docs.python.org/3/library/shutil.html#shutil.rmtree
    The extra *args and **kwargs will be passed to the rmtree() function.
    """
    path = Path(path)
    if path.is_symlink():
        log.info(
            "Not deleting directory because it's a symlink.",
            path=str(path),
            resolved_path=path.resolve(),
        )
        return None
    _assert_path_is_inside_docroot(path)
    return shutil.rmtree(path, *args, **kwargs)