code: def status(self):
          
          if self.cluster_id == self.NULL_CLUSTER_ID:
              return "Unexpanded"
  
          status_dict = self.statuses
          # determine job status
          status = "Various"
          for key, val in status_dict.items():
              if val == self.num_jobs:
                  status = key
          return status
docs: The status