Check if a scope is currently in the stack
static bool isActive(String scopeName) { return _scopeStack.contains(scopeName); }