How can I know whether postgres is currently running synchronous or asynchronous replication?
If:

SHOW synchronous_standby_names;


on the master that's expected to have synchronous replicas reports a non-empty value, then synchronous replication is active.