public boolean isPreferredConnection(String identifier){
  return preferredConnections.contains(identifier);
}

public boolean isPreferredConnection ( String identifier ) { return preferredConnections . contains ( identifier ) ; }
returns whether the connection having the given identifier has been marked as preferred for this user ' s current guacamole session . a preferred connection is always chosen in favor of other connections when it is a child of a balancing connection group .
