Checking if point is within solid (group or component)

Here is another thread that dives into the issue: