docs: def taskotron_task_outcome(config, message, outcome=None):
      """ Particular taskotron task outcome
  
      With this rule, you can limit messages to only those of particular
      `taskotron <https://taskotron.fedoraproject.org/>`_ task outcome.
  
      You can specify several outcomes by separating them with a comma ',',
      i.e.: ``PASSED,FAILED``.
  
      The full list of supported outcomes can be found in the libtaskotron
      `documentation <https://docs.qadevel.cloud.fedoraproject.org/
      libtaskotron/latest/resultyaml.html#minimal-version>`_.
      """
  
      # We only operate on taskotron messages, first off.
      if not taskotron_result_new(config, message):
          return False
  
      if not outcome:
          return False
  
      outcomes = [item.strip().lower() for item in outcome.split(',')]
      return message['msg']['result'].get('outcome').lower() in outcomes