def is_even(n):
    """
    Determines if the given integer or float input is even.
    :param n: an float or integer value.
    :return: True if the integer is even, otherwise false.
    """
    return n % 2 == 0