code: def get_status(self, json_status=None):
          
          if json_status:
              self.json_status = json_status
  
          if self.json_status not in AjaxResponseStatus.choices:
              raise ValueError(
                  "Invalid status selected: '{}'".format(self.json_status))
  
          return self.json_status
docs: Returns status of for json