with

fun Uri.with(resolve: (Uri) -> Boolean): Optional<Uri>