code: def _is_glob_pattern(file: str) -> bool:
      return any(char in file for char in ["*", "?", "["])
  
file_path: polars/py-polars/polars/io/_utils.py
imports: from __future__ import annotations
  import glob
  import re
  from contextlib import contextmanager
  from io import BytesIO, StringIO
  from pathlib import Path
  from typing import IO, Any, ContextManager, Iterator, overload
  from polars.dependencies import _FSSPEC_AVAILABLE, fsspec
  from polars.exceptions import NoDataError
  from polars.utils.various import normalize_filepath
label_desc: Use image node_id 1 for calling a global function with example usage: _is_glob_pattern(file) and returns: any