code: def extend_flag(self, flag, values):
      if flag not in self.flags:
          self.flags[flag] = values
      elif isinstance(self.flags[flag], list):
          assert isinstance(values, list)
          self.flags[flag].extend(values)
      else:
          assert isinstance(self.flags[flag], dict)
          assert isinstance(values, dict)
          self.flags[flag].update(values)
  
label_desc: Use image node_id 2 for calling the ClusterConfig obj's underlying member method code with example usage: obj.extend_flag(flag, values) without return types