This is a generalized version of `matches_os?`. Now that `:os` is an attribute, we are going meta. (Which is not exactly my taste, but I can live with it.)