3.14.8: easiest way to check from outside whether mqtt client connection is working correctly

We sometimes have strange mqtt (re-)connection issues (probably some of them already fixed with 3.14.8, we are still on 3.14.2), but in any case we want to be able to check whether mqtt connection is working or not. in most cases process or device restart solves such issues. What should we check to see from outside of the process whether mqtt connection is fine? Is the syslog the only way? For example checking automatically whether latest mqtt connection related log entry is not an error?

probably checking prometheus metrics is a good idea? e.g. checking if integration_mqtt_connect_count is higher than integration_mqtt_disconnect_count?