code: def register_menu_item(self, items):
          
          for itm in items:
              if itm.group in self.menu_items:
                  # Only add the menu item if we don't already have it registered
                  if itm not in self.menu_items[itm.group]['items']:
                      self.menu_items[itm.group]['items'].append(itm)
              else:
                  logger.warning('Tried registering menu item to unknown group {}'.format(itm.group))
docs: Registers a views menu items into the metadata for the application. Skip if the item is already present
  
          Args:
              items (`list` of `MenuItem`): A list of `MenuItem`s
  
          Returns:
              `None`