Whether the destination of NavAgent is unreachable

Any way to know if the destination of a NavAgent is currently unreachable because of Obstacles?
Thanks.

This will hopefully get you started.

http://docs.unity3d.com/ScriptReference/NavMeshPathStatus.html

Here is a similar question that might also help you.