@property
def is_alerted(self) -> bool:
    'Return whether the monitor has alerted.'
    return self.device.alerted
Return whether the monitor has alerted.
@property
def is_alerted(self) -> bool:
    
    return self.device.alerted