Check if NavMeshAgent can reach position with dynamic obstacles

I am currently checking if a position in the NavMesh is reachable. It is reachable without the NavMesh obstacles. But the moment I add it, NavMesh’s CalculatePath() continues to return true. Note that I do have those obstacles to have carving set to true. How do I solve this problem?

Reference: https://answers.unity.com/questions/1184356/how-to-know-if-a-navigationmeshagent-is-impossible.html