How to use Detour AI bots to path around player character?

But how do you know if this random point on the left/right lies on the nav mesh?