pub fn is_module_enabled(&self, name: &str) -> bool {
        let config = self.config.get_module_config(name);

        // If the segment has "disabled" set to "true", don't show it
        let disabled = config.and_then(|table| table.get_as_bool("disabled"));

        disabled != Some(true)
    }
/// Check the `disabled` configuration of the module
Check the `disabled` configuration of the module
Check the ` disabled ` configuration of the module
pub fn is_module_enabled(&self, name: &str) -> bool {
        let config = self.config.get_module_config(name);
        // If the segment has "disabled" set to "true", don't show it
        let disabled = config.and_then(|table| table.get_as_bool("disabled"));
        disabled != Some(true)
    }
pub fn is_module_enabled ( & self , name : & str ) -> bool { let config = self . config . get_module_config ( name ) ; // If the segment has "disabled" set to "true", don't show it let disabled = config . and_then ( | table | table . get_as_bool ( " " ) ) ; disabled != Some ( true ) }
Check the `disabled` configuration of the module
Check the ` disabled ` configuration of the module
&self
name
&str