def add_one(t_number, last_time_timeout):
    """Function will add a number if provided condition is set to True."""
    if last_time_timeout:
        t_number += 1
        return t_number
    else:
        return 0