class_docstr: This class performs sanity checks on configuration objects and (optionally) updates the configurations
      (e.g., synchronize specific key-value pairs) based on a set of rules. 
  
  Args:
      rule_list (list): A list of rules on which all checks and updates are based.
      allow_update (bool, optional): Whether or not to allow updating the configuration object.
class_docstr_tok: ["This","class","performs","sanity","checks","on","configuration","objects","and","(","optionally",")","updates","the","configurations","(","e.g.",",","synchronize","specific","key-value","pairs",")","based","on","a","set","of","rules",".","Args",":","rule_list","(","list",")",":","A","list","of","rules","on","which","all","checks","and","updates","are","based",".","allow_update","(","bool",",","optional",")",":","Whether","or","not","to","allow","updating","the","configuration","object","."]
code: def __init__(self, rule_list, allow_update=True):
      super().__init__()
      self.rule_list = rule_list
      self.allow_update = allow_update
  
imports: import copy
  from paddleseg.utils import logger
  from paddleseg.utils import utils
label_desc: Use image node_id 1 to create a new ConfigChecker object from inherited base classes: object with example: obj = ConfigChecker(rule_list, allow_update)