def METHOD_NAME(self):
    """Check that isValidBaseObject detects PDs."""
    body = self.doc.addObject("PartDesign::Body", "Body")
    box = self.doc.addObject("PartDesign::AdditiveBox", "Box")
    body.addObject(box)
    self.doc.recompute()
    self.assertTrue(PathUtil.isValidBaseObject(body))