How to detect if a given position (Vector3) is under navmesh?

I’m making a top-down game. How do I detect if the given Vector3 is under the NavMesh? Like so:

public Vector3 position;

if(the damn thing is inside the navmesh){

I would love this to be answered because I need to know this for my gameeee