pub const fn is_error(code: u16) -> bool
Returns true when the code is a client or server error.
true