openzeppelin_monitor::bootstrapFunction has_active_monitors
Source pub fn has_active_monitors(monitors: &[Monitor], network_slug: &String) -> bool
Expand description
Checks if a network has any active monitors.
§Arguments
monitors
- List of monitors to check
network_slug
- Network identifier to check for
§Returns
Returns true if there are any active monitors for the given network