def METHOD_NAME(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