code: def is_model_media_valid_attributes(node):
      
      if node.name not in ('js', ):
          return False
  
      parent = node.parent
      while parent and not isinstance(parent, ScopedClass):
          parent = parent.parent
  
      if parent is None or parent.name != "Media":
          return False
  
      return True
docs: Suppress warnings for valid attributes of Media class.