canGoBack

fun canGoBack(): Boolean

Return

If it safe to go back i.e up the stack. If false then it means the current composable is the last screen. This also means that the backstack is empty.