
    Write a function to check if a patient's medical profile shows no active risk factors within a specific category of health indicators, where the risk factors are represented as bits in a binary number from position l to r. The function should analyze the patient's combined risk assessment number n, where each bit represents a distinct health indicator, and determine if all indicators in the specified range of medical conditions are inactive (unset).
    

    
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to check if a patient's medical profile shows no active risk factors within a specific category of health indicators, where the risk factors are represented as bits in a binary number from position l to r. The function should analyze the patient's combined risk assessment number n, where each bit represents a distinct health indicator, and determine if all indicators in the specified range of medical conditions are inactive (unset).
    

    """
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to check if a patient's medical profile shows no active risk factors within a specific category of health indicators, where the risk factors are represented as bits in a binary number from position l to r. The function should analyze the patient's combined risk assessment number n, where each bit represents a distinct health indicator, and determine if all indicators in the specified range of medical conditions are inactive (unset).
    

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