from typing import Any


def is_integer(thing: Any) -> bool:
    """
    A function that returns whether the given value is an integer.  Note that this will return
    ``False`` for the value, ``True``, which is different from normal Python.

    :param thing: the value to check.
    :return: ``True`` if the value is an integer.
    """
    return isinstance(thing, int) and not isinstance(thing, bool)