The second link (Point is inside a mesh functionality) has code to do exactly what you want (check if point is inside mesh).
The second link (Point is inside a mesh functionality) has code to do exactly what you want (check if point is inside mesh).