code: def _thresholds_init(self):
          
          thresholds = getattr(self._py3status_module, "thresholds", [])
          self._thresholds = {}
          if isinstance(thresholds, list):
              try:
                  thresholds.sort()
              except TypeError:
                  pass
              self._thresholds[None] = [(x[0], self._get_color(x[1])) for x in thresholds]
              return
          elif isinstance(thresholds, dict):
              for key, value in thresholds.items():
                  if isinstance(value, list):
                      try:
                          value.sort()
                      except TypeError:
                          pass
                      self._thresholds[key] = [
                          (x[0], self._get_color(x[1])) for x in value
                      ]
docs: Initiate and check any thresholds set