How Do I Check if a Unit Has Finished Its Path

How should I go about figuring out if a unit is not actively following a path?

Where are you asking from? BT node? Path following code? Any arbitrary code?

–mieszko