(cls, status)
return status == "true"
Version of etcd prior to 3.3 return this payload when you hit /health:
          {"health": "true"}

        which is wrong since the value is a `bool` on etcd.

        Version 3.3 fixed this issue in https://github.com/coreos/etcd/pull/8312
        but we need to support both.
Version of etcd prior to 3.3 return this payload when you hit /health:
          {"health": "true"}
Version of etcd prior to 3 . 3 return this payload when you hit / health : { health : true }
def _is_healthy(cls, status):
        """
        Version of etcd prior to 3.3 return this payload when you hit /health:
          {"health": "true"}

        which is wrong since the value is a `bool` on etcd.

        Version 3.3 fixed this issue in https://github.com/coreos/etcd/pull/8312
        but we need to support both.
        """
        if isinstance(status, bool):
            return status

        return status == "true"
def _is_healthy ( cls , status ) : if isinstance ( status , bool ) : return status return status == "true"