code: def _is_bad_category_en(cat: str) -> bool:
      return (
          cat == "All stub articles"
          or cat.startswith("Disambiguation pages")
          or re.search(
              r"^(?:All )?(?:Wikipedia )?(?:[Aa]rticles?|[Pp]ages)",
              cat,
              flags=re.UNICODE,
          )
          is not None
      )
  
imports: from __future__ import annotations
  import datetime
  import itertools
  import logging
  import os
  import re
  import urllib.parse
  from typing import Iterable, Optional
  import requests
  from cytoolz import itertoolz
  from ..None import constants
  from ..None import io
  from ..None import types, utils
  from .base import Dataset
label_desc: Use image node_id 1 for calling a global function with example usage: _is_bad_category_en(cat) and returns: unknown