pub fn contains_warn(s: &str) -> bool
Returns true if the message contains warn (case insensitive).
warn