code: def merge(self, item):
          
          self.name = item.name
  
          if item.icon:
              self.icon = item.icon
  
          if item.url:
              self.url = item.url
  
          if item.order:
              self.order = item.order
  
          if item.permission:
              self.permission = item.permission
docs: Merge Menu item data