has

fun has(cacheName: String): Promise<Boolean>(source)

Since Kotlin

1.1