code: def is_int(x) -> bool:
      """Check if x is of integer type, but not boolean."""
      # boolean are subclasses of integers in Python, so explicitly exclude them
      return (
          isinstance(x, (int, np.integer))
          and not isinstance(x, bool)
          and not isinstance(x, np.timedelta64)
      )
  
imports: import os
  from datetime import timedelta
  from typing import Union
  import numpy
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: is_int(x) and returns: unknown