How to use Dirty Mask?

Zbrush has Mask By Smoothness, By Peaks & Valleys.
I was searching for such features in Blender and found something similar in the documentation.
https://docs.blender.org/manual/en/latest/sculpt_paint/sculpting/editing/mask.html?highlight=dirty%20mask
“Dirty Mask - Generates a mask based on the geometry cavity and pointiness.”

So I searched in sculpture mode, and ‘3D Viewport> Mask> Dirty Mask’ appears in the search bar.
However, there is only one mask brush on the left, and the ‘Dirty Mask’ is not visible in the right stack.
Is this the right function I found, and if so, how do I use it?