docs: def minion_publish(self, clear_load):
          '''
          Publish a command initiated from a minion, this method executes minion
          restrictions so that the minion publication will only work if it is
          enabled in the config.
  
          The configuration on the master allows minions to be matched to
          salt functions, so the minions can only publish allowed salt functions
  
          The config will look like this:
  
          .. code-block:: bash
  
              peer:
                  .*:
                      - .*
  
          This configuration will enable all minions to execute all commands.
          peer:
  
          .. code-block:: bash
  
              foo.example.com:
                  - test.*
  
          The above configuration will only allow the minion foo.example.com to
          execute commands from the test module.
  
          :param dict clear_load: The minion payload
          '''
          if not self.__verify_minion_publish(clear_load):
              return {}
          else:
              return self.masterapi.minion_publish(clear_load)