<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def valid_config_param(self, param_name, cleanup=False):
 """ Check if a given section name is a valid parameter for i3status. """

        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