How to access Editor View Mode's Shadow Mask's data

In Editor Viewport’s View Modes there’s Shadow Mask Visualisation Mode for Virtual Shadow Maps. Is there any way to access this data or at least the script/code managing this view mode? I know Buffer Visualizations are materials stored in Engine/BufferVisualizations, but cannot find anything analogous for any other view modes.