How to detect frames in paragraph styles

In the user interface, it is obvious if a paragraph style has a frame. It's not so obvious in the Word object model. There is no built-in method to determine whether a style has a Frame. This article identifies one possible way around this problem.