isSelectedReturns whether the node is selected.Compose API Reference Compose UI Test isSelected Function Common fun isSelected(): SemanticsMatcher Returns whether the node is selected.