getOrNull

abstract fun getOrNull(@Px width: Int, @Px height: Int, config: Bitmap.Config): Bitmap?

Identical to get except that null will be returned if the pool does not contain a usable bitmap.