public bool HasValue(string name, bool ignoreCase) { if (!HasVariable(name)) { return false; } return GetScopeVariable(name, ignoreCase).HasValue; }