def is_standby_cluster(self) -> bool:
        """``True`` if global configuration has a valid ``standby_cluster`` section."""
        config = self.get_standby_cluster_config()
        return isinstance(config, dict) and\
            any(cast(Dict[str, Any], config).get(p) for p in ('host', 'port', 'restore_command'))
``True`` if global configuration has a valid ``standby_cluster`` section.
patroni/global_config.py