'Determine if temporary path should be deleted or kept by user request/config'

def _should_remove_tmp_path(self, tmp_path):

    return (tmp_path and self._cleanup_remote_tmp and (not C.DEFAULT_KEEP_REMOTE_FILES) and ('-tmp-' in tmp_path))
