code: def process_states(self, helper, session, check):
          
          snmp_result_status = helper.walk_snmp_values(session, helper,
                                                       DEVICE_STATES_OIDS["oid_" + check],
                                                       check)
  
          snmp_result_names = helper.walk_snmp_values(session, helper,
                                                      DEVICE_NAMES_OIDS["oid_" + check],
                                                      check)
  
          for i, _result in enumerate(snmp_result_status):
              if check == "power_unit":
                  helper.update_status(
                      helper,
                      normal_check(snmp_result_names[i], snmp_result_status[i], "Power unit"))
              elif check == "drive":
                  helper.update_status(
                      helper,
                      self.check_drives(snmp_result_names[i], snmp_result_status[i]))
              elif check == "power_unit_redundancy":
                  helper.update_status(
                      helper,
                      self.check_power_unit_redundancy(snmp_result_names[i], snmp_result_status[i]))
              elif check == "chassis_intrusion":
                  helper.update_status(
                      helper,
                      normal_check(snmp_result_names[i], snmp_result_status[i],
                                   "Chassis intrusion sensor"))
              elif check == "cooling_unit":
                  helper.update_status(
                      helper,
                      normal_check(snmp_result_names[i], snmp_result_status[i], "Cooling unit"))
docs: process status values from a table