code: def is_int_index(index: pd.Index) -> bool:
      """
      Check if an index is integral
  
      Parameters
      ----------
      index : pd.Index
          Any numeric index
  
      Returns
      -------
      bool
          True if is an index with a standard integral type
      """
      return (
          isinstance(index, pd.Index)
          and isinstance(index.dtype, np.dtype)
          and np.issubdtype(index.dtype, np.integer)
      )
  
file_path: statsmodels/statsmodels/compat/pandas.py
imports: from typing import Optional
  import numpy
  from packaging.version import Version, parse
  import pandas
  from pandas.util._decorators import Appender, Substitution, cache_readonly, deprecate_kwarg
label_desc: Use image node_id 1 for calling a global function with example usage: is_int_index(index) and returns: unknown