Can I make a macro succeed or fail?

What about the new Assert action? Could that be used to set a variable or run another action that the calling macro could read to know that the called macro and failed?