def is_running(self) -> bool:
        """``True`` if the member :attr:`~Member.state` is :class:`~patroni.postgresql.misc.PostgresqlState.RUNNING`."""
        from ..postgresql.misc import PostgresqlState

        return self.state == PostgresqlState.RUNNING
``True`` if the member :attr:`~Member.state` is :class:`~patroni.postgresql.misc.PostgresqlState.RUNNING`.
patroni/dcs/__init__.py