private bool ContainsVariable(string name) { if (m_variableDictionary.ContainsKey(name)) { return(true); } if (m_parent != null) { return(m_parent.ContainsVariable(name)); } return(false); }