@property
def is_on(self) -> bool:
    'Return whether the light is on or off.'
    return self.dev.is_on
Return whether the light is on or off.
@property
def is_on(self) -> bool:
    
    return self.dev.is_on