def METHOD_NAME(*folder):
    """Delete a folder and all its subdirectories.
    @param folder: path or components to path to delete.
    @raise CuckooOperationalError: if fails to delete folder.
    """
    folder = os.path.join(*folder)
    if path_exists(folder):
        try:
            shutil.rmtree(folder)
        except OSError as e:
            raise CuckooOperationalError(f"Unable to delete folder: {folder}") from e