def is_synchronous_mode(self) -> bool:
        """``True`` if synchronous replication is requested and it is not a standby cluster config."""
        return (self.check_mode('synchronous_mode') is True or self.is_quorum_commit_mode) \
            and not self.is_standby_cluster
``True`` if synchronous replication is requested and it is not a standby cluster config.
patroni/global_config.py