Return true if the object has a selection with the specified selectionId, and false otherwise.
selectionId
Declared in <bdlar_choiceref.h>
<bdlar_choiceref.h>
bool hasSelection(int selectionId) const;