code: def is_archived_theme(filename: str) -> bool:
      """Check whether the specified file is an archived theme file or not."""
      try:
          with ZipFile(filename) as f:
              return THEMECONF in f.namelist()
      except Exception:
          return False
  
imports: from __future__ import annotations
  import configparser
  import os
  import shutil
  import sys
  import tempfile
  from os import path
  from typing import TYPE_CHECKING, Any
  from zipfile import ZipFile
  import contextlib
  from sphinx import package_dir
  from sphinx.config import check_confval_types
  from sphinx.errors import ThemeError
  from sphinx.locale import __
  from sphinx.util import logging
  from sphinx.util.osutil import ensuredir
label_desc: Use image node_id 2 for calling a global function with example usage: is_archived_theme(filename) and returns: unknown, False