import time
import logging


def is_even(n: int) -> bool:
    """
    Checks if the number 'n' is even or odd

    :param n: The number to check
    :return: Whether (True) or not (False) the number is even
    """
    time.sleep(0.1)
    if n % 2 == 0:
        logging.info(f"{n} - is even")
        return True
    else:
        logging.info(f"{n} - is odd")
        return False