ifIsVisibleAction

fun Fragment.ifIsVisibleAction(action: () -> Unit = {})