fix sketch classification for other body
fix sketch classification for other body

hasObject does search recursive only in groups, but a body is not a group. Hence for sketches within a body this will always return false. Annother logic must be used to detect sketches in bodies.

Fat-Zer/FreeCAD_sf_master,bblacey/FreeCAD-MacOS-CI,bblacey/FreeCAD-MacOS-CI,timthelion/FreeCAD,chrisjaquet/FreeCAD,usakhelo/FreeCAD,timthelion/FreeCAD,usakhelo/FreeCAD,usakhelo/FreeCAD,wood-galaxy/FreeCAD,chrisjaquet/FreeCAD,usakhelo/FreeCAD,Fat-Zer/FreeCAD_sf_master,bblacey/FreeCAD-MacOS-CI,wood-galaxy/FreeCAD,timthelion/FreeCAD,timthelion/FreeCAD,usakhelo/FreeCAD,chrisjaquet/FreeCAD,Fat-Zer/FreeCAD_sf_master,bblacey/FreeCAD-MacOS-CI,Fat-Zer/FreeCAD_sf_master,wood-galaxy/FreeCAD,maurerpe/FreeCAD,maurerpe/FreeCAD,bblacey/FreeCAD-MacOS-CI,maurerpe/FreeCAD,timthelion/FreeCAD,bblacey/FreeCAD-MacOS-CI,Fat-Zer/FreeCAD_sf_master,maurerpe/FreeCAD,chrisjaquet/FreeCAD,chrisjaquet/FreeCAD,wood-galaxy/FreeCAD,chrisjaquet/FreeCAD,chrisjaquet/FreeCAD,maurerpe/FreeCAD,bblacey/FreeCAD-MacOS-CI,usakhelo/FreeCAD,wood-galaxy/FreeCAD,usakhelo/FreeCAD,timthelion/FreeCAD,wood-galaxy/FreeCAD