
    Write a function to determine if a sequence of bus route segments from position l to r is completely clear of congestion, where the route's traffic status is represented as a binary number n with 1 indicating congestion and 0 indicating clear passage. The function should verify if all segments within the specified range are free of congestion (all bits are 0).
    

    
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a sequence of bus route segments from position l to r is completely clear of congestion, where the route's traffic status is represented as a binary number n with 1 indicating congestion and 0 indicating clear passage. The function should verify if all segments within the specified range are free of congestion (all bits are 0).
    

    """
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a sequence of bus route segments from position l to r is completely clear of congestion, where the route's traffic status is represented as a binary number n with 1 indicating congestion and 0 indicating clear passage. The function should verify if all segments within the specified range are free of congestion (all bits are 0).
    

    """
    num = (1 << r) - 1 ^ (1 << l - 1) - 1
    new_num = n & num
    if new_num == 0:
        return True
    return False