def is_int(i):
    """

    Checks if the input (``i``) is an integer in a way which is robust against booleans.

    :param i: any input
    :type i: ``any``
    :return: whether or not the input is an integer.
    :rtype: ``bool``
    """
    return isinstance(i, int) and not isinstance(i, bool)
