Is there a way to know if the MoveTo path of AI uses the navmesh part of a static mesh?

I have a static mesh of a ramp and that is being used by the navmesh, is there a way to know beforehand if my AI’s will go through that ramp? Thank you.