
    Given a 32-bit diagnostic report for a public transit vehicle where each bit represents a component's maintenance status (0 for functioning, 1 for maintenance needed), write a function to verify if all components within a specific subsystem (defined by positions l to r) are functioning properly. The function should return true if all components in the specified range are operational (bits are unset), and false if any component needs maintenance (any bit is set).
    

    
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Given a 32-bit diagnostic report for a public transit vehicle where each bit represents a component's maintenance status (0 for functioning, 1 for maintenance needed), write a function to verify if all components within a specific subsystem (defined by positions l to r) are functioning properly. The function should return true if all components in the specified range are operational (bits are unset), and false if any component needs maintenance (any bit is set).
    

    """
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Given a 32-bit diagnostic report for a public transit vehicle where each bit represents a component's maintenance status (0 for functioning, 1 for maintenance needed), write a function to verify if all components within a specific subsystem (defined by positions l to r) are functioning properly. The function should return true if all components in the specified range are operational (bits are unset), and false if any component needs maintenance (any bit is set).
    

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