
    Write a function to verify if all security checks within a specified range of a transaction's security flag sequence are inactive (unset), where each flag represents a distinct security verification status. The function should examine the binary security flags from position l to r in the transaction's security status register n, determining if any security measures are active within that range.
    

    
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to verify if all security checks within a specified range of a transaction's security flag sequence are inactive (unset), where each flag represents a distinct security verification status. The function should examine the binary security flags from position l to r in the transaction's security status register n, determining if any security measures are active within that range.
    

    """
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to verify if all security checks within a specified range of a transaction's security flag sequence are inactive (unset), where each flag represents a distinct security verification status. The function should examine the binary security flags from position l to r in the transaction's security status register n, determining if any security measures are active within that range.
    

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