has_failed: Check if plan has failed.
This is a method of the Plan class in the planning module.
def has_failed(&self) -> bool