
    Write a function to determine if a patient's health indicators within a specified assessment range (from position l to r) in their binary health status code show no active risk factors. The health status code is represented as an integer n where each bit position corresponds to a specific health indicator, with 0 indicating absence of risk and 1 indicating presence of risk.
    

    
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a patient's health indicators within a specified assessment range (from position l to r) in their binary health status code show no active risk factors. The health status code is represented as an integer n where each bit position corresponds to a specific health indicator, with 0 indicating absence of risk and 1 indicating presence of risk.
    

    """
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a patient's health indicators within a specified assessment range (from position l to r) in their binary health status code show no active risk factors. The health status code is represented as an integer n where each bit position corresponds to a specific health indicator, with 0 indicating absence of risk and 1 indicating presence of risk.
    

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