def check_number_validity(number, previous_numbers):
    """Return true if two numbers of previous_numbers sum up exactly to number"""
    for candidate in previous_numbers:
        if number - candidate in previous_numbers:
            return True
    return False