code: def isMasterDegraded(self):
          
          if self.acc_monitor:
              self.acc_monitor.update_time(time.perf_counter())
              return self.acc_monitor.is_master_degraded()
          else:
              return (self.instances.masterId is not None and
                      (self.isMasterThroughputTooLow() or
                       # TODO for now, view_change procedure can take more that 15 minutes
                       # (5 minutes for catchup and 10 minutes for primary's answer).
                       # Therefore, view_change triggering by max latency now is not indicative.
                       # self.isMasterReqLatencyTooHigh() or
                       self.isMasterAvgReqLatencyTooHigh()))
docs: Return whether the master instance is slow.