public bool TryGetVariable(string name, out SharedVariable value) { value = GetVariable(name); return(value != null); }