docs: def _json_to_sectionstatus(section_data):
      """
      Returns a uw_sws.models.SectionStatus object
      created from the passed json.
      """
      section_status = SectionStatus()
      if section_data["AddCodeRequired"] == 'true':
          section_status.add_code_required = True
      else:
          section_status.add_code_required = False
      section_status.current_enrollment = int(section_data["CurrentEnrollment"])
      current_period = int(section_data["CurrentRegistrationPeriod"])
      section_status.current_registration_period = current_period
      if section_data["FacultyCodeRequired"] == 'true':
          section_status.faculty_code_required = True
      else:
          section_status.faculty_code_required = False
  
      limit_estimate = int(section_data["LimitEstimateEnrollment"])
      section_status.limit_estimated_enrollment = limit_estimate
  
      indicator = section_data["LimitEstimateEnrollmentIndicator"]
      section_status.limit_estimate_enrollment_indicator = indicator
      section_status.room_capacity = int(section_data["RoomCapacity"])
      section_status.sln = int(section_data["SLN"])
      section_status.space_available = int(section_data["SpaceAvailable"])
      if section_data["Status"] == "open":
          section_status.is_open = True
      else:
          section_status.is_open = False
  
      return section_status