isFocusedReturns whether the node is focused.Compose API Reference Compose UI Test isFocused Function Common fun isFocused(): SemanticsMatcher Returns whether the node is focused.