Chef Server 12: how to tell if reconfigure required?

If I automate Chef Server’s package upgrades on Ubuntu 14.04, how can I programmatically tell whether it requires a chef-server-ctl --reconfigure?

If I’m running chef-manage, how can I tell there, as well?