Returns whether a scope with id is currently active.
id
bool hasScope(String id) => _scopes.containsKey(id);