code: def is_int_sequence(
      val: object, *, include_series: bool = False
  ) -> TypeGuard[Sequence[int]]:
      """Check whether the given sequence is a sequence of integers."""
      if _check_for_numpy(val) and isinstance(val, np.ndarray):
          return np.issubdtype(val.dtype, np.integer)
      elif include_series and isinstance(val, pl.Series):
          return val.dtype.is_integer()
      return isinstance(val, Sequence) and _is_iterable_of(val, int)
  
imports: from __future__ import annotations
  import inspect
  import os
  import re
  import sys
  import warnings
  from collections.abc import MappingView, Sized
  from enum import Enum
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Generator, Iterable, Literal, Sequence, TypeVar
  import polars
  from polars import functions
  from polars.datatypes import FLOAT_DTYPES, INTEGER_DTYPES, Boolean, Date, Datetime, Decimal, Duration, Int64, String, Time
  from polars.dependencies import _check_for_numpy
  from polars.dependencies import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: is_int_sequence(val) and returns: unknown, np, val