@mixin isList($list, $mc: null) {
    @each $l in $list {
        &#{$l + $mc} {
            @content($l);
        }
    }
}