def sequential_search_ordered_input(list1, val):
    """
    Carry out a sequential search of the given sorted list for a given value
    
    Parameters
    ----------
    list1: input list, assumed to be sorted in ascending order
    val: the value to be searched

    Returns
    -------
    True/False
    """
    for i in range(len(list1)):
        #found the value of interest; return
        if list1[i] == val:
            return True
        #found a value greater than the value of interest. Since the list
        #is sorted and the value of interest hasn't been found, it must not be
        #present, return with false
        if list1[i] > val:
            return False
    return False