/// check if white list is enabled for controller name
/// if white list is empty then everything is enabled,
/// otherwise only included
check if white list is enabled for controller name
if white list is empty then everything is enabled,
otherwise only included
check if white list is enabled for controller name if white list is empty then everything is enabled otherwise only included
pub fn enabled(&self, name: &str) -> bool {
        if self.white_list.is_empty() {
            true
        } else {
            self.white_list.contains(name)
        }
    }
pub fn enabled ( & self , name : & str ) -> bool { if self . white_list . is_empty ( ) { true } else { self . white_list . contains ( name ) } }
check if white list is enabled for controller name
if white list is empty then everything is enabled,
otherwise only included
check if white list is enabled for controller name if white list is empty then everything is enabled otherwise only included
&self
name
&str