Identify the curves meeting a spec in AEDT

When running a parametric sweep, how to identify the ones below the spec

Example max(dB(S(1,1))) shows the max of each curve. Or max(dB(S(1,1))) < -16dB shows the one passing as 1, and the ones failing will be 0.