code: def valid_config_param(self, param_name, cleanup=False):
          
          if cleanup:
              valid_config_params = [
                  _
                  for _ in self.i3status_module_names
                  if _ not in ["cpu_usage", "ddate", "ipv6", "load", "time"]
              ]
          else:
              valid_config_params = self.i3status_module_names + ["general", "order"]
          return param_name.split(" ")[0] in valid_config_params
docs: Check if a given section name is a valid parameter for i3status.