def is_number(c):
    """
    Checks if the given character is a number.

    :param c: The character to check.

    :return: True if the character is a number, False otherwise.
    """
    return '0' <= c <= '9'