code: def is_templatetags_module_valid_constant(node):
      
      if node.name not in ('register', ):
          return False
  
      parent = node.parent
      while not isinstance(parent, Module):
          parent = parent.parent
  
      if "templatetags." not in parent.name:
          return False
  
      return True
docs: Suppress warnings for valid constants in templatetags module.