isAvailable

suspend fun isAvailable(): Boolean

Check whether the data layer is available before use to avoid crashes.