Returns true if the node identified by key is expanded.
true
key
bool isExpanded(Object key) => _expandedKeys.contains(key);