Substrate Glass with a Black & White Texture Map Pattern?

I am trying to build a simple Glass Shader with Substrate.
A black and white texture map, which should control Transparency and Solid.

I can’t figure out how to construct that simple node when using Substrate and the Substrate Transmittance to MeanFrePath node.

Thanks a bunch for any ideas and hints.
appreciate it!