/// Returns true if the device is known to be in some cycle mode.
///
/// If the device status is missing or outdated it may return false.
Returns true if the device is known to be in some cycle mode.
If the device status is missing or outdated it may return false.
Returns true if the device is known to be in some cycle mode . If the device status is missing or outdated it may return false .
pub fn is_mode_cycle(&self) -> bool {
    if let Some(status) = &self.status {
      matches!(status.mode, OperationalMode::Cycle(_))
    } else {
      false
    }
  }
pub fn is_mode_cycle ( & self ) -> bool { if let Some ( status ) = & self . status { matches ! ( status mode OperationalMode Cycle ( ) ) } else { false } }
Returns true if the device is known to be in some cycle mode.
Returns true if the device is known to be in some cycle mode .
&self