
    Write a function to determine if a patient's medical record shows no active risk factors within a specific category of health indicators, where the record is represented as a binary number with each bit signifying the presence (1) or absence (0) of a specific health condition. The function should check if all indicators are inactive (unset) between the starting and ending positions that define the category of interest in the patient's binary health record.
    

    
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a patient's medical record shows no active risk factors within a specific category of health indicators, where the record is represented as a binary number with each bit signifying the presence (1) or absence (0) of a specific health condition. The function should check if all indicators are inactive (unset) between the starting and ending positions that define the category of interest in the patient's binary health record.
    

    """
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a patient's medical record shows no active risk factors within a specific category of health indicators, where the record is represented as a binary number with each bit signifying the presence (1) or absence (0) of a specific health condition. The function should check if all indicators are inactive (unset) between the starting and ending positions that define the category of interest in the patient's binary health record.
    

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