def channel(value, message='Invalid channel name'):
  value = encoding.smart_unicode(value)
  if not value.startswith('#'):
    value = '#%s' % value
   
  if not value.endswith('@%s' % settings.NS_DOMAIN):
    value = '%s@%s' % (value, settings.NS_DOMAIN)
  
  match = channel_re.match(value)
  if not match:
    logging.info("Error on clean channel nick %s" % value)
    raise exception.ValidationError(message)

  return value
Checks if the artifact is current.
dataset/ETHPy150Open CollabQ/CollabQ/common/clean.py/channel--crossover with--dataset/ETHPy150Open lektor/lektor/lektor/builder.py/Artifact.is_current