Checks if a key exists in the global state.
key is the identifier to check for. Returns true if the key exists, false otherwise.
key
static bool containsKey(String key) => _globalState.containsKey(key);