isVisibleText

fun UiDevice.isVisibleText(text: String, timeout: Int = 3): Boolean