public static function is($mode){
       
        if(is_int($mode) && self::get() == $mode){
             
            return true;
        }
        if(is_string($mode) && self::get() == self::getModeByName($mode)){
            return true;
        }
        return false;
    }