Jetpack Compose API reference for getOrNull.
fun <T> SemanticsConfiguration.getOrNull(key: SemanticsPropertyKey<T>): T?