private bool CheckScene(IScene scene) { foreach (ICondition condition in scene.GetConditions()) { foreach (IAction action in condition.GetActions()) { if (!string.IsNullOrEmpty(action.NextScene)) { //we're good for this scene return true; } } } return false; }