# Functions
HasPlanFailed returns true if the plan has failed.
HasPlanSucceeded returns true if the plan has been completed successfully.
HasThePlanEnded returns true if the plan execution has ended, with a failure or not.
Reason for state returns a descriptive string for the given plan state.