Returns whether a mode is set.
impl Mode { fn is_set(&self, mode: Mode) -> bool }
The mode to be checked.