public bool ContainsStep (Type type) { foreach (IStep step in _steps) if (step.GetType () == type) return true; return false; } }