code: def test_integer(value: t.Any) -> bool:
      """Return true if the object is an integer.
  
      .. versionadded:: 2.11
      """
      return (
          isinstance(value, int)
          and value is not True
          and value is not False
      )
  
imports: import operator
  import typing
  from collections import abc
  from numbers import Number
  from .runtime import Undefined
  from .utils import pass_environment
label_desc: Use image node_id 12 for calling a global function with example usage: test_integer(value) and returns: unknown