def METHOD_NAME(self):
    """Check that isValidBaseObject ignores sketches."""
    body = self.doc.addObject("PartDesign::Body", "Body")
    sketch = self.doc.addObject("Sketcher::SketchObject", "Sketch")
    body.addObject(sketch)
    TestSketcherApp.CreateSlotPlateSet(sketch)
    self.doc.recompute()
    pad = self.doc.addObject("PartDesign::Pad", "Pad")
    body.addObject(pad)
    pad.Profile = sketch
    self.doc.recompute()
    # the body is a solid
    self.assertTrue(PathUtil.isValidBaseObject(body))
    # the pad inside the body cannot be used due to the linking constraints
    self.assertFalse(PathUtil.isValidBaseObject(pad))
    # the sketch is no good neither
    self.assertFalse(PathUtil.isValidBaseObject(sketch))