code: def channel_parameters(parameter_prefix, channel_names, configuration_entry):
      
  
      if configuration_entry in (True, False):
          return ([], [parameter_prefix])[configuration_entry]
  
      parameters = []
      if isinstance(configuration_entry, dict):
          for name in set(channel_names).intersection(configuration_entry):
              if configuration_entry[name] is True:
                  parameters.append(parameter_prefix + "_" + name)
      else:
          raise TypeError("incorrect type")
  
      return parameters
docs: Return parameters specific to a channel for a model.