$languagesButton->hasDiff()
Returns if any translation other than the current one has unsaved changes (the current language has to be handled in k-languages-dropdown as its state can change dynamically without another backend request)
$languagesButton->hasDiff() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.