def _validate_channel_name(self, channel):
if channel not in self._valid_channels:<EOL><INDENT>raise ParameterValidationError('<STR_LIT>' + str(channel))<EOL><DEDENT>
validate channel name
:type channel: str
:raises: ValueError