public bool ContainsAction(IAction target) { return(IfAction.ContainsAction(target) || ThenAction.ContainsAction(target)); }