Checks if a connection is currently selected.
bool isConnectionSelected(String connectionId) => _selectedConnectionIds.contains(connectionId);