Vtkpolydata inside another one

Hello Everyone, I have a question.

I define two polydata p1 and p2.
If p2 is in p1, then I do nothing.
If p2 has some part outside p1, then I use vtkBooleanOperationPolyDataFilter to calculate the union of p1 and p2 and set p1 as the output.

I’m wondering if there is a way to check the inclusion fast. Right now, I don’t have any clue for it
Thank you!